Skip to Content
0
Former Member
Sep 08, 2014 at 06:24 PM

how to clear data from datawindow?

1298 Views

suppose I have a datawindow.

I need to do following for data on this datawindow:

retrieve data from database: //use datawindow.Retrieve()

delete all data retrieved // How to do this? need to delete all rows from data by loop and then call Datawindow.Update()??? any simple way?

Insert new data to datawindow and save it //use datawindow.insertRow and then call DataWindow.Update()

what's the simple way to do this job?