Show the Value of the quey string on the form

Posted on 2011-09-16
Last Modified: 2012-06-21
 TransferString = "<a href=TestSessionEditTab.aspx?New=N&TestSessionID=" & e.Row.Cells(0).Value & "><" & e.Row.Cells(0).Value & "></a>"
        'TransferString = "<a href=TestSessionEditTab.aspx?New=N&TestSessionID=" & e.Row.Cells(0).Value & "><img src=images/More.gif></a>"
        e.Row.Cells(0).Value = TransferString
Question by:patelankitm
  • 2

Expert Comment

ID: 36551106
Whole querystring
TransferString  = Request.Querystring.ToString();
Only the TestSessionID
CellValue = Request.QueryString.Get("TestSessionID");  

Accepted Solution

nixkuroi earned 500 total points
ID: 36551149
Sorry,  the first line won't work.  
For the whole line, use
For only SessionID
CellValue = Request.QueryString.Get("TestSessionID");  
LVL 53

Expert Comment

ID: 36978308
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
firstswap challenge 20 82
Base1 Encode/Decode 3 81
Help Required 3 107
Infrastructure development vs software development 3 60
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question