Results 1 to 2 of 2

Thread: Clear Dataset Values

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 2000
    Posts
    73

    Clear Dataset Values

    Hi,

    I Gave dataset.clear , and the controls were bound but still the values did not got cleared .

    Please help

    Wrgds
    Ganesh.K

  2. #2
    Member
    Join Date
    Aug 2002
    Location
    Netherlands
    Posts
    39

    Clear it

    To clear the dataset you should create a new instance of the dataset by using the statement AS NEW DataTable

    In code you fill this dataset with your DB-values. Don't bind the dimmed dataset to a DB.

    When you use the clear statement then, the dimmed dataset should be cleared.

    Be careful to update your DB with this dataset when it is cleared, cuase this will cause your DB also be cleared of data. Or was this your intention?


    Dozo

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width