How to Access DataGrid Control Offline
Hello there !!!
Can anyone help me out ? I want to access DataGrid Control offline and after processing all the procedures and functions I'll update the Database.
For Example, Let's say, I have 3 TextBox and a NEXT button. If I press the NEXT button, all the data from 3 TextBox will be added as row in a DataGrid which has 3 Column fro 3 TexBox Values (fully temporarily, not in any Database). Then I have SAVE2TABLE button to save all the ROWs of DataGrid will be save to a Table.
I thought of using an XML file in this regard. But is it possible to create a temporary XML file in the CLIENT's PC which will be deleted after SAVE2TABLE.
I also thought of using SESSION, But I don't know how to present the SESSION values into a DataGrid / DataGrid View.
Please let me know how to delete a single row from the DataGrid also.
Thanx
SHAHID KHAN
|