Gridview Item Template
I have an item template in my gridview with a text box in it. For some reason I am having a difficult time accessing the value that is entered into the text box. Right now I am using this code and it says that box 1 has a value of nothing although I entered data into the textbox. Thanks for any help or suggestions.
ForEach row As GridViewRow In GridView1.Rows
Dim box1 As TextBox = DirectCast(row.FindControl("txtFirstname"), TextBox)