I'm not able to update the edited row in gridview......it shows error on bold line on the code below...........i had seen that my e.RowIndex has 6 rows but myTextBox txtBox1,textbox2,textbox are null.........coz of this i'm getting error....i want to know that why textbox are getting null value as i have used proper statement for this......
protected void GridView1_RowUpdating(object sender, GridViewUpdateEventArgs e)
SqlConnection conn = new SqlConnection("Data Source=ABC-59236A7CB6F;Initial Catalog=practical2;Integrated Security=True");
TextBox txtBox1 = ((TextBox)GridView1.Rows[e.RowIndex].FindControl("txtprodid"));
TextBox txtBox2= ((TextBox)GridView1.Rows[e.RowIndex].FindControl("txtprodname"));
TextBox txtBox3= ((
View Complete Post