See data in a DataSet

  • Thread starter Thread starter Alberto
  • Start date Start date
A

Alberto

I execute a Select sentence using a SqlDataAdapter object and a fill a
DataSet object. After doing this I set the DataSource property of a DataGrid
to the value of the DataSet but in the DataGrid I see an hiperlink to the
table but I want to see Data. How can I do it?

Thank you.
 
Set the DataMember property of the DataGrid to the table name of DataTable in the DataSet.
 

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