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. Advertisements

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. =?Utf-8?B?UGV0ZXI=?=

    Passing Chinese through Query String

    =?Utf-8?B?UGV0ZXI=?=, Dec 25, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    538
    =?Utf-8?B?UGV0ZXI=?=
    Dec 25, 2004
  2. Replies:
    2
    Views:
    3,645
  3. AlecL
    Replies:
    6
    Views:
    460
    Just Me
    Dec 29, 2006
  4. pereges
    Replies:
    7
    Views:
    703
    pereges
    Jun 1, 2008
  5. John Aspinall
    Replies:
    2
    Views:
    280
    John Aspinall
    Nov 9, 2004
  6. lievemario

    Passing an cgi variable to a sql query

    lievemario, Nov 24, 2004, in forum: Perl Misc
    Replies:
    5
    Views:
    339
    Alan Mead
    Nov 24, 2004
  7. roadrunner
    Replies:
    1
    Views:
    438
    Gunnar Hjalmarsson
    Feb 8, 2006
  8. nick
    Replies:
    1
    Views:
    717
    David Mark
    Feb 13, 2011
Loading...