从 GridView 的 RowCommand 事件请求页面,这里是代码
protected void grdClaimList_RowCommand(object sender, GridViewCommandEventArgs e)
{
switch (e.CommandName)
{
case "ViewClaim":
Response.Redirect("ClaimStatus.aspx?id=" + e.CommandArgument);
break;
}
}
我想从 url 隐藏查询字符串,可以吗?如果是,请告诉我怎么做?