Hi,
I Gave dataset.clear , and the controls were bound but still the values did not got cleared .
Please help
Wrgds
Ganesh.K
Printable View
Hi,
I Gave dataset.clear , and the controls were bound but still the values did not got cleared .
Please help
Wrgds
Ganesh.K
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