TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
toad77
NA
1
0
How to Dynamically build SQL
Nov 4 2004 11:02 PM
I'm trying to dynamically build SQL statements in my VB .Net windows application based on user input. Just using parameters isn't good enough, because I don't know until run time what the where clause will look like at all, or even if there will be one. I tried dynamically setting the CommandText property of the SelectCommand of the data adapter while running, but I get an error. Should I scrap the data adapter all together and use SqlCommand? If so, can I still use a databound dataset, do I need a data reader instead or in addition to... Thanks for any help!
Reply
Answers (
0
)
Programmatically deleting a row in a datagrid
c# corner