i have a link which is binded with some values and then i want to take those value to the next page using request query string
am able to get one value but for the second value it is giving an error . can you help me?
this is the come am having:
one the second page i usually used
label1.test = request.querystring["AssignmentDescription"].tostring();
when it is only one value i want to take.
but now for this case i want to know how i can get both values in different labels so that i can be able to insert differently in data base.
am trying this but it is giving me an error: object not referenced...
label1.test = request.querystring["AssignmentDescription"].tostring();
label2.test =request.querystring["CourseCode"].tostring();
thank your for your help

Sanjeeb LenkaRank #301 · 8.3K reputationPosted Jul 5, 2013, 1:04 AM EDT
LINK TEST
to
LINK TEST
in next page
any problem reply
Iftikar HussainRank #423 · 5.9K reputationPosted Jul 5, 2013, 1:01 AM EDT
You need to modify your query string declarion
&CoursCode=" + Eval("CourseCode") %>'>LINK TEST
Regards,
Iftikar
Pankaj PandeyRank #642 · 3.7K reputationPosted Jul 5, 2013, 1:14 AM EDT
use this..
String [] x=request.querystring["AssignmentDescription"].tostring().Split("CoursCode");
modeste modeste28 reputationPosted Jul 5, 2013, 1:22 AM EDT
modeste modeste28 reputationPosted Jul 5, 2013, 1:26 AM EDT