ASP Hosting sale!
Double disk space and transfer for FREE!
Limited time offer! Act Now!

aspdev | articles | tutorials | forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Clearing the dataset in vb.net

 
Post new topic   Reply to topic    ASPdev.org Forum Index -> .NET Programming (ASP.NET, VB.NET, C#)
View previous topic :: View next topic  
Author Message
x-raysteve



Joined: 01 Feb 2006
Posts: 53

PostPosted: Thu Feb 02, 2006 7:25 pm    Post subject: Clearing the dataset in vb.net Reply with quote

I have a situation where I want to reset/clear the entire loaded dataset in vb. Is there a way to do it while still maintaining your variables?
Back to top
View user's profile Send private message
administrator
Site Admin


Joined: 01 Oct 2004
Posts: 183

PostPosted: Thu Feb 02, 2006 9:35 pm    Post subject: Reply with quote

You can use the Dataset.Clear method to do that:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemdatadatasetclasscleartopic.asp



Thanks,

Peter
_________________
Peter
ASP & ASP.NET Articles and Tutorials
Back to top
View user's profile Send private message
x-raysteve



Joined: 01 Feb 2006
Posts: 53

PostPosted: Fri Feb 03, 2006 8:55 pm    Post subject: Reply with quote

Peter,

Thanks for the link. That helped me a lot. I kind of browsed off that page too and found a lot of other good information for specific issues I had questions about. I guess it helps to go to the source sometimes.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    ASPdev.org Forum Index -> .NET Programming (ASP.NET, VB.NET, C#) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group

SQL Tutorial