Hi Team ,
I am getting below error for Textbox in VB.net. Please help me.
Error's 'get_Text' is not a member of 'System.Web.UI.WebControls.TextBox'. 'set_Text' is not a member of 'System.Web.UI.WebControls.TextBox'.
Error at below line for get_Text()
Me.strStartID = CShort(Math.Round(DoubleType.FromString(Me.startid.get_Text()) + 30))
<AccessedThroughProperty("startid")>
Private _startid As TextBox
Protected Overridable Property startid As TextBox
Get
Return Me._startid
End Get
<MethodImpl()>
Set(ByVal value As TextBox)
Me._startid = Nothing
Me._startid = value
Me._startid = Nothing
End Set
End Property
Me.strStartID = CShort(Math.Round(DoubleType.FromString(Me.startid.get_Text()) + 30))