Requery a recordset in ADO.NET

T

Thanh-Nhan Le

Hi,

I am using Dataset and Datatable object to show data on a form (unbound).
How can I refresh data in the datatable object (or whole Dataset)? (as
requery method in old ADO)

I am using VS 2008 prof. Which best method may I use for bounding data to a
form?

Is there any enterprise version für VS 2008?

Thanks
Nhan
 
N

Nicholas Paldino [.NET/C# MVP]

Nhan,

You can't. You have to have the data adapter which was used to fill the
DataSet. The DataSet is truly disconnected, it has no knowledge of where
the data came from, or the commands used to populate it.
 

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

Top