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 LenkaPosted Jul 5, 2013, 5:04 AM
LINK TEST
to
LINK TEST
in next page
any problem reply
modeste modestePosted Jul 5, 2013, 5:26 AM
modeste modestePosted Jul 5, 2013, 5:22 AM
Pankaj PandeyPosted Jul 5, 2013, 5:14 AM
use this..
String [] x=request.querystring["AssignmentDescription"].tostring().Split("CoursCode");
Iftikar HussainPosted Jul 5, 2013, 5:01 AM
You need to modify your query string declarion
&CoursCode=" + Eval("CourseCode") %>'>LINK TEST
Regards,
Iftikar