Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Show the Value of the quey string on the form

Posted on 2011-09-16
4
Medium Priority
?
194 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 2000 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
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 …

618 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