How to access data(tables) from sql server 2000 in C#
Plz tell me...How would i do this ????
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Grzegorz7 pointsPosted Mar 31, 2006, 4:22 AM EST
you cannot do this directly using sql componets. All what you can do is create sql statement as "select * from tableName", execute it using SqlCommand or SqlDataAdapter and then fill DataTable object or process data you got row by row. I suppose you know that before it you have to connect with DB using SqlConnection:)
Good luck,
Grek.