Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to assign data from table to a variable?

Status
Not open for further replies.

belcom125

Programmer
Nov 17, 2004
45
CA
I need to assign a data value from a dataset/dataadapter to a variable, or can I check if dataset returned any values?
 
What method are you using to connect to your database?

There are so many different ways to do it that it is hard to answer this question without more specific details.
 
OK, I just figured out a way. I am using datareader. It works just like I need it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top