-> You can pass multiple paramters in a querystring like this:
http://www.domain.com.kh/viewpage.as...ram2Name=value
Replace "Param2Name" with your paramter name
Replace "value" with the value you want to pass
-> To access the values in viewpage.aspx, write this in the
codebehind:
i=Request.QueryString["PageID"];
j=Request.QueryString["Param2Name"];
-> If only one parameter is passed, the second value will
give null. For eg, if only PageID was passed as a
parameter to the querystring, Request.QueryString["Param2Name"]
would return null. So you can do this:
if(i==null || j==null)
{
//write your code here
Response.Write("One value was passed");
}
Cheers
Spacy