DataSets

hayto

Member
Joined
Aug 31, 2004
Messages
13
Programming Experience
Beginner
hi there,
Can anyone help me about meaning and importance of clearing dataset tables??

ex:
daCargo.Fill(dsGeneral, "Cargo")

dsGeneral.Tables("Cargo").Clear() ???????????

daCargo.Fill(dsGeneral, "Cargo")

 
before you fill your datatable..you must clean it first..
PHP:
    dsGeneral.Tables("Cargo").Clear() 
 daCargo.Fill(dsGeneral, "Cargo")

it just saying...wash your hands before you eat...
 
cleaning the dataset will ensure that no duplications and overwriting of data will occur

and yes it's just like washing off your hands.. heheheh...
 
Back
Top