Morning guys,
I have a formview and i would like to capture content of a textbox within the formview and display its content in another textbox or label whenever a button is pressed.
i have tried the following:
the error i'm getting is that the "value of type system.web.UI.control cannot be converted to string"
oh i'm a newbie so any link to any material that would assist would be greatly appreciated.
thanks for the assistance in advance
I have a formview and i would like to capture content of a textbox within the formview and display its content in another textbox or label whenever a button is pressed.
i have tried the following:
Code:
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs)
txttest.Text = FormView1.FindControl("txtappno")
End Sub
oh i'm a newbie so any link to any material that would assist would be greatly appreciated.
thanks for the assistance in advance