GridView problem
-
Hi friends i have an issue with grid view update functionality The problem is when i edit one of my grid view columns and click update The GridView1_RowUpdating method which contains the string textlastname = ((TextBox)GridView1.Rows[e.RowIndex].FindControl("TextBox1")).Text; returns the old value in the column instead of the newly edited value. I need to get the newly edited value in the textlastname. TextBox1 is the id of the control Any help is highly appricated praveen
-
Hi friends i have an issue with grid view update functionality The problem is when i edit one of my grid view columns and click update The GridView1_RowUpdating method which contains the string textlastname = ((TextBox)GridView1.Rows[e.RowIndex].FindControl("TextBox1")).Text; returns the old value in the column instead of the newly edited value. I need to get the newly edited value in the textlastname. TextBox1 is the id of the control Any help is highly appricated praveen
-
Hi friends i have an issue with grid view update functionality The problem is when i edit one of my grid view columns and click update The GridView1_RowUpdating method which contains the string textlastname = ((TextBox)GridView1.Rows[e.RowIndex].FindControl("TextBox1")).Text; returns the old value in the column instead of the newly edited value. I need to get the newly edited value in the textlastname. TextBox1 is the id of the control Any help is highly appricated praveen
hi friend this is wrong method. you want to retrive data from GridView. first you select row. then select column.
-
thanks for your reply