Help: Extracting string from URL

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ananthu
    New Member
    • Sep 2007
    • 87

    Help: Extracting string from URL

    Hi,

    I have the url for the loaded page as follows:

    http://localhost:1120/Tender%20Manage ment%20System/TenderCompanyPr ofile.aspx?id=a kr15_87@rediffm ail.com

    Now i have to seperate the string "akr15_87@redif fmail.com" from the url and i have to use that string in the form_load event.

    Please help me to extract the string from the url ...

    Thanks in Advance....
  • DrBunchman
    Recognized Expert Contributor
    • Jan 2008
    • 979

    #2
    Hi Ananthu,

    Use
    Code:
    SomeVariable =  Request.querystring("id")
    The question mark (?) at the end of the url indicates a querystring variable.

    Hope this helps,

    Dr B

    Comment

    • Ananthu
      New Member
      • Sep 2007
      • 87

      #3
      Hi,

      Thanks so much for your kind reply...

      It worked....

      Keep in touch with me....

      Comment

      Working...