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.
 
Back
Top