I have a this html code :
<li><a href="Password.aspx" accesskey="2" >مشاهده</a></li>
I want when i click on the li,to redirect other page,for example:
Response.Redirect("ManagerAdd.aspx");
and i want to send the query string to ManagerAdd page, for example:
Response.Redirect("ManagerAdd.aspx?rid=" + r_id.ToString());
my r_id get from this webform,for example:
how can i write this on li html?
<li><a href="ManagerAddFood.aspx?rid=" + r_id.ToString() accesskey="2" >مشاهده منو</a></li>
protected void Page_Load(object sender, EventArgs e)
{
t1 = Request.QueryString["id"];
}
and i want to get id from form1 load event and send manageradd.aspx with string query.