Skip to content

How to access data(tables) from sql server 2000 in C#

Tahir Shabbir

Asked Mar 29, 2006, 5:57 AM EST1 answer
Share
LinkedInX
Plz tell me...How would i do this ????

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    Hi,

    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.
    0