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.FindControl("TextBox1")).Text;
txtname = sb.ToString()
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)