• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 195
  • Last Modified:

Show the Value of the quey string on the form

 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
patelankitm
Asked:
patelankitm
  • 2
1 Solution
 
nixkuroiCommented:
Whole querystring
TransferString  = Request.Querystring.ToString();
Only the TestSessionID
CellValue = Request.QueryString.Get("TestSessionID");  
0
 
nixkuroiCommented:
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
 
DhaestCommented:
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now