Click here to Skip to main content
15,891,689 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello I'm confused on how to wipe my dataset clean in vb.net. My program is a windows forms application and I'm using the oledbdataadapter and a datagridview. I've been using this to zero out my dataset but it doesn't seem to be working for me.

Dataset.clear()
Posted
Comments
Dave Kreskowiak 20-Aug-13 15:26pm    
That depends on exactly what you mean by "wiping a DataSet clean" and exactly what "doesn't seem to be working for me" means. Without that definition and a good description of what behavior you expect to see and what's actually happening, everyone is just guessing at answers.

A DataSet is nothing but a collection of DataTable and DataRelation objects.

 
Share this answer
 
Comments
fjdiewornncalwe 20-Aug-13 14:44pm    
+5.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900