Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index
str = sb.ToString(); string txtname = ((TextBox)GridView1.Rows[i].Cells[1].FindControl("TextBox1")).Text; txtname = sb.ToString()
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)