Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

QueryString query

Status
Not open for further replies.

Everton1Blue

Technical User
Jun 6, 2014
41
GB
Hello

If I have this:

Code:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

       your_name.Text = Request.QueryString("your_name") & your_name.Text

           End Sub

in my code behind form, and this on the main page:

Code:
 <div id="textPosition1">         

<asp:Label ID="your_name" runat="server"></asp:Label> 
          
, thank you for your message.<br />
I will get back to you ASAP        
</div>

is that likely to work, please? I haven't compiled it yet - thought I would check it out here first.

Thank you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top