This is a migrated thread and some comments may be shown as answers.

Insert,update and delete grid items using form

1 Answer 60 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jayanthy Kapistalam
Top achievements
Rank 1
Jayanthy Kapistalam asked on 12 Dec 2008, 06:24 PM
I'm trying to insert, update and delete form data to a datagrid. I've seen examples for insert, update and delete when the grid is binded to the database. But I want an example where the grid gets its data from the form and perform update, insert and delete back to the page instead of the database. Are there any examples? 

Also, some of my form controls are loaded based on combo box values i.e selected index changed

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 15 Dec 2008, 04:57 AM
Hi,

I hope you are trying to persist changes in data only on the Grid in a page and not on the database. Here is an online demo which shows a similar scenario where the changes is being made to the DataTable and not to the database. Here the DataTable is initially bound to data from DataBase. But the rest of the changes are made only on the DataTable and not to the DataBase.
User control edit form

Shinu
Tags
Grid
Asked by
Jayanthy Kapistalam
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or