Solved

Show the Value of the quey string on the form

Posted on 2011-09-16
4
190 Views
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
0
Comment
Question by:patelankitm
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 3

Expert Comment

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

Accepted Solution

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

Expert Comment

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

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying 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

This is an explanation of a simple data model to help parse a JSON feed
Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
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 …

691 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