sqldatasource get value back

  • Thread starter Thread starter Ganesh
  • Start date Start date
G

Ganesh

Hi There,

I've asp.net 2.0, sqldatasource i've a select statement it will return just
one record contains 5 fields. How can i get the field values back from
sqldatasource

Thanks
 
What are you trying to do with the values? SqlDataSource is used to bind
data to controls (GridView, DropDownList, etc.). If you just want to perform
a query and use the data in your code, you want to use a SqlDataReader
instead.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top