http://localhost:606/Default.aspx?TerminalNo=008
How can I copy the Terminal number=008 of the above path in to an x variable in the program.
http://localhost:606/Default.aspx?TerminalNo=008
How can I copy the Terminal number=008 of the above path in to an x variable in the program.
Try this..
protected void Page_Load(object sender, EventArgs e)
{
string x = Request.QueryString["TerminalNo"];
int y = convert.ToInt32(Request.QueryString["TerminalNo"]);
}