Jump to content
Xtreme .Net Talk

Recommended Posts

  • 3 months later...
Posted
Ah, whew.

 

Well, the alternative is to NOT use the CommandBuilder (it's kind of a beginner's helper class more than anything). You can use the CommandBuilder while in development, but look at the SQL string it builds for you (the CommandText property as I mentioned above). Once you have the INSERT string that the CommandBuilder built for you, you can do away with the CommandBuilder and hard-code the string for yourself.

 

There is one alternative if you would still prefer to use the commandbuilder: that is to use a QuotePrefix of "[" and QuoteSuffix of "]".

 

Here is a link to the msdn reference.

 

-Nate

Posted

Heh you guys are still responding :)

 

Well I got an A on my project, an A in the class, and I won't have to worry about VB again for a while (if ever hopefully) :p

 

Thanks for all your help

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...