Results 1 to 2 of 2

Thread: How to retrieve HTML value into VB.Script TextBox

  1. #1
    Junior Member
    Join Date
    Jul 2008
    Answers
    1

    How to retrieve HTML value into VB.Script TextBox

    Hi,
    I am new bird in .net development, I have a question regarding assign value into ASP:TextBox.
    I need to retrieve value from HTML text box and assign into ASP:TextBox, but I not really know how to retrieve the value in HTML.
    How I can retrieve the value in design view (HTML):
    <input type="text" name="mytextboxHTML" id="mytextboxHTML" value="" "/>

    and store at .Net TextBox :
    <asp:TextBox ID="MyTextboxASP" runat="server"></asp:TextBox>

    (I am using .net 2.0 and written in VB.net)
    Any help would be greatly appreciated. Thanks for help


  2. #2
    Junior Member
    Join Date
    Aug 2008
    Answers
    8

    Smile Re: How to retrieve HTML value into VB.Script TextBox

    Hi,



    Dim txt as textbox

    txt = CType(page.FindControl("txtEvaluationDegree"), textbox)

    Mohammed Yousuf uddin
    Software Developer


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact