我只会用超连接 aa.asp?nz=...
------解决方案--------------------------------------------------------
1.在.cs中可以 Linkbutton a= new Linkbutton();
a.OnClientClick = "javascript:return do( " + 参数+ "); ";
在.aspx中可以定义了 function do(Id)
{
window.location = 'do.aspx?id= ' + Id;
return false;
}
2.LinkButton button= new LinkButton();
button.CommandArgument = 参数
button.Click += new EventHandler(btn_Click);
protected void btn_Click()
{
int Id = Convert.ToInt32((sender as LinkButton).CommandArgument);
}
3.Session[ "id "];