SELECT statement using Dynamic Data
hi,
I am using visual studio.net and sql server 2000,
I use a dataset to store some dynamic data and I need to use these dynamic data to select the rows from a table in sql server 2000.
how to create a DYNAMIC SELECT statement to access the sql server 2000?
eg. SELECT * FROM Lineitem WHERE LineNumber = "Dynamic Data"
This "Dynamic Data" is queried from some function in my c# program and the values are stored in a data set and it is a condition in the SELECT statement.
thanks
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

mikerRank #2,843 · 502 reputationPosted Feb 12, 2004, 7:58 AM EST
Mahesh ChandRank #1 · 393.3K reputationPosted Feb 12, 2004, 9:56 AM EST
sunspotzzz49 reputationPosted Feb 17, 2004, 7:40 AM EST