S
Steven K
Hello,
I am having trouble converting a string to a textbox object. I am getting
the following error:
Value of type 'String' cannot be converted to
'System.Web.UI.WebControls.TextBox'.
Dim objUpdate As New TextBox
Dim ctrFor As Integer = 1
Dim strForLoop1 As String = "tbxHandle0" & ctrFor
Dim strFrmObj As String = CType(strForLoop1, TextBox).Text
Thanks, Steven
I am having trouble converting a string to a textbox object. I am getting
the following error:
Value of type 'String' cannot be converted to
'System.Web.UI.WebControls.TextBox'.
Dim objUpdate As New TextBox
Dim ctrFor As Integer = 1
Dim strForLoop1 As String = "tbxHandle0" & ctrFor
Dim strFrmObj As String = CType(strForLoop1, TextBox).Text
Thanks, Steven