How do I refresh a dataset?

  • Thread starter Thread starter Larry Bud
  • Start date Start date
L

Larry Bud

If I make a change in a SQL Table, the dataset in VS2005 needs to be
updated as well.

Is there any way to automatically refresh the dataset?
 
if you are using wizard to generate dataset/Adaptor choose "Refresh Dataset"
option during WizardStep.

else

Put a ";" at the end of your SQL Insert/Update or Delete statement and
specify Select SQL statement.
eg. Insert into Table1 values (......) ; Select * from Table1

Regards
JIGNESH
 

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