Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

do i ever have to clear the table contents in my dataset if i do a new search? becaus if i use

 

adap.fill(ds,"table1)

 

it fills the table with the search results, but if i search again it doesnt empty the table1, its adding the new resulst to the end of the table, so i get more and more data in the table but not the last search results?

 

i tried this to clear the table out

 

ds.tables("table1").clear()

 

is there another way to populate a datatable only with the results no more no less?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...