passing query string as variable from aspx.cs to aspx

Discussion in 'ASP .Net Web Controls' started by vivekrobotics, Aug 15, 2006.

  1. hi all,
    this is vivek

    /// Write out hyperlinks that show the descriptions and include the
    ImageID in a querystring

    Response.Write("<a href='Description.aspx?imageid=" + myDR["ImageID"] +
    "'>" + myDR["ItemCode"]+ " " + myDR["Description"] + "&br&br&br" +
    myDR["Price"] + "</a><br>");

    Now I want to use this in datagrid's hyperlink column in navigateurl
    property.

    I don't know how to pass any variable from aspx.cs page to aspx page.

    Plz help
     
    vivekrobotics, Aug 15, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. AlecL
    Replies:
    6
    Views:
    378
    Just Me
    Dec 29, 2006
  2. John Aspinall
    Replies:
    2
    Views:
    176
    John Aspinall
    Nov 9, 2004
  3. lievemario

    Passing an cgi variable to a sql query

    lievemario, Nov 24, 2004, in forum: Perl Misc
    Replies:
    5
    Views:
    250
    Alan Mead
    Nov 24, 2004
  4. roadrunner
    Replies:
    1
    Views:
    241
    Gunnar Hjalmarsson
    Feb 8, 2006
  5. nick
    Replies:
    1
    Views:
    461
    David Mark
    Feb 13, 2011
Loading...

Share This Page