PC Review


Reply
Thread Tools Rate Thread

How do I refresh a dataset?

 
 
Larry Bud
Guest
Posts: n/a
 
      18th Jan 2008
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?
 
Reply With Quote
 
 
 
 
JIGNESH
Guest
Posts: n/a
 
      19th Jan 2008
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

"Larry Bud" wrote:

> 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?
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ado.net DataSet Refresh =?Utf-8?B?TWFuanJlZSBHYXJn?= Microsoft ADO .NET 45 10th Aug 2007 09:00 AM
Refresh DataSet - please Help Me :-( chreo Microsoft VB .NET 12 1st Apr 2005 06:09 PM
best way to refresh a dataset. jaYPee Microsoft ADO .NET 10 23rd Nov 2004 07:39 PM
best way to refresh a dataset. jaYPee Microsoft VB .NET 10 19th Nov 2004 08:36 AM
dataset refresh Mike P Microsoft C# .NET 2 30th Mar 2004 02:57 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:24 PM.