gridviewoperation in asp.net

Posted by Madhuri123 under ASP.NET on 4/13/2011 | Points: 10 | Views : 969 | Status : [Member] | Replies : 1
hi,
this is madhuri, i am working with gridview operations. now i find this is code

GridView1.EditIndex = e.NewEditIndex;
i have a doubt here is what is e,neweditindex
what is the functionality of neweditindex here

updating
TextBox t1 = GridView1.Rows[e.RowIndex].Cells[2].Controls[0] as TextBox;

what is the functionality of controls here




Responses

Posted by: Vforvijay on: 4/13/2011 [Member] Starter | Points: 25

Up
0
Down
hi..
e.neweditindex
its gives the index of the editing row...when you are editing a row its fives the particular index of the row...
Refer it for update data in grid view
http://vbdotnetaddict.blogspot.com/2011/02/groid-view-load-and-update-sql-data.html

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

Login to post response