Solved

Show the Value of the quey string on the form

Posted on 2011-09-16
4
184 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
  • 2
4 Comments
 
LVL 3

Expert Comment

by:nixkuroi
Comment Utility
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
Comment Utility
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
Comment Utility
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
This is about my first experience with programming Arduino.
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 seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

728 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now