HI
Don't know if this make sence or not but I think the error might be because
you add SPACES between the double quat " and the &. You also us one " and
then the & you need two "" to send an empty string or maybe =& without any "
to send an empty string. Also to add " to a string you probably need to do
some thing like \". I'm new to C# but that's how you do it in C/C++.
The following line looks like VB code
Response.Redirect("checkoutitem.aspx?Titleid= " & "classificationid= " &
GridView1.SelectedValue)
I "think" the right C# code would be
Response.Redirect("checkoutitem.aspx?Titleid=" + "&classificationid=&" +
GridView1.SelectedValue );
Or is this VB Code? Then try skip the spaces only. Note that the & are
within the quated strings. How does C#ASP act on null parameters. Does ASP
act the same way as PHP?
Try This
Response.Redirect("checkoutitem.aspx?Titleid=999&classificationid=" +
GridView1.SelectedValue);
Don't forget the ";" at the end of the line. If you do it will give you a
compiler error (I guess)
Lars
"JJ297" <
[email protected]> skrev i meddelandet
I want to send Titleid and [descriptions] over to the other page how
do I do this? I know how to send one how do I add another?
Response.Redirect("checkoutItem.aspx?TitleID=" &
GridView1.SelectedValue)
aaa....use "&" delimeter?
Response.Redirect ("kuku.aspx?TitleID=999&SecondValue=666")
Tried this but it's still not working.
Response.Redirect("checkoutitem.aspx?Titleid= " & "classificationid= "
& GridView1.SelectedValue)