Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8375591
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T15:13:00+00:00 2026-06-09T15:13:00+00:00

In Visual Studio 2010, I am using the wizard to create queries for TableAdapters.

  • 0

In Visual Studio 2010, I am using the wizard to create queries for TableAdapters. The query SELECT Modell FROM BHKW WHERE Energieträger = @Energieträger causes “Error around @ character” to appear (within the wizard). And this event though

  1. the @ and ä characters are allowed characters and
  2. this very simple query comes from an official Microsoft example (only the field names have been changed).

Does anybody know how to solve this problem?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T15:13:02+00:00Added an answer on June 9, 2026 at 3:13 pm

    The wizard requires the use of square brackets for a SQL database. The correct query is then the following:

    SELECT Modell FROM BHKW WHERE Energieträger = [@Energieträger]
    

    If you use an Access database, the wizard will complete successfully but a warning will pop-up: “Returned data does not conform to the table’s schema.”

    The correct syntax with an Access database requires a question mark:

    SELECT Modell FROM BHKW WHERE (Energieträger = ?)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using Visual Studio 2010 to create a setup project for my .NET
I am using MS Visual Studio 2010. When i create a new MVC3 project
I wish to create a custom search webpart using visual studio 2010 using c#.
To the point, I created a report using Report Wizard on Visual Studio 2010
Using Visual Studio 2010 and I'm encountering an error when attempting to use the
I've created a new project using the Visual Studio 2010's wizard. Once VS was
I am writing Python code in Visual Studio 2010 using the excellent Python Tools
I'm working with the the Release Candidate of Visual Studio 2010 using Wf4 to
I'm creating a Visual Studio 2010 extension using a Package template, not an Add-in.
Visual Studio 2010 C# code: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.