Inserting a new record in grid view editing

Posted by Sanoop under ASP.NET on 11/28/2011 | Points: 10 | Views : 2253 | Status : [Member] | Replies : 4
Hi friends
I what to knw how to add new data in grid view editing. I know hw to delete and update already existing data in database but need to add new data




Responses

Posted by: Blessyjees on: 11/28/2011 [Member] Bronze | Points: 25

Up
0
Down
Hi,

For adding new data, you need to define the UI for this. You can add a button "New" in the page and shows the UI for adding in the button click. In the save button click event write the code for adding this value in the database and refresh the grid.

Blessy Baby
Digitalmesh Softech pvt Ltd
https://blessybaby.wordpress.com/

Sanoop, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sanoop on: 11/28/2011 [Member] Starter | Points: 25

Up
0
Down
Hi,
I'm asking the codes for the program

Sanoop, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Arefin on: 11/28/2011 [Member] Starter | Points: 25
Posted by: Vforvijay on: 1/24/2013 [Member] Starter | Points: 25

Up
0
Down
Hi..
To add new row on gridview please refer the below link to get the source code..

http://www.dotnetcode.in/2013/01/how-to-add-or-insert-new-row-on.html

Sanoop, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response