mariuslaurentiu
Programmer
Hello,
When i try to execute this part i received "object reference not set to an instance of an object"
Dim TextBoxText as String
Dim TxtBox as TextBox
For Each row As GridViewRow in GridView1.Rows
TxtBox=XType(row.FindControl("TxtStr"),TextBox)
TextBoxText=TxtBox.Text
Next
And i don't figure why is that.
Thank you
When i try to execute this part i received "object reference not set to an instance of an object"
Dim TextBoxText as String
Dim TxtBox as TextBox
For Each row As GridViewRow in GridView1.Rows
TxtBox=XType(row.FindControl("TxtStr"),TextBox)
TextBoxText=TxtBox.Text
Next
And i don't figure why is that.
Thank you