Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > How do I refresh a dataset?

Reply
Thread Tools

How do I refresh a dataset?

 
 
Larry Bud
Guest
Posts: n/a
 
      01-18-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
 
      01-19-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
 
 
 
 
ic_teta ic_teta is offline
Junior Member
Join Date: Sep 2012
Posts: 2
 
      09-14-2012
Quote:
Originally Posted by JIGNESH View Post
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?
>
hello
i couldn't find "Refresh Dataset" in dataset wizard?
and the second instruction didn't work for me
i use visual studio 2012
tnx 4 your future help
 

Last edited by ic_teta; 09-14-2012 at 10:14 AM..
Reply With Quote
 
ic_teta ic_teta is offline
Junior Member
Join Date: Sep 2012
Posts: 2
 
      09-15-2012
no body help me!!!!
i need help
 
Reply With Quote
 
 
 
Reply

Thread Tools

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
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
JSP: Session parameters vanish on refresh. How do I keep them on refresh? Per Magnus L?vold Java 1 10-08-2004 02:52 PM
How do i refresh a datagrid from a pop up window without having to refresh the whole page? Pkenty ASP .Net Web Controls 0 05-28-2004 07:06 AM
using refresh button on the menu bar to refresh two frames. Jawahar Rajan ASP General 1 10-01-2003 09:20 PM
Problem with refresh button breaking automatic refresh brian lanning ASP .Net 0 07-29-2003 07:57 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57