日期:2014-05-17 浏览次数:20383 次
<a href="Edit.aspx?id=<%#Eval("id")%>&HSDID=<%#Eval("HSDID") %>">[ Submit ]
Response.Redirect("Edit.aspx?id=" + id + "&HSDID=" + HSDID);
<script language="javascript" type="text/javascript">
function Onbut(id,HSDID)
{
var pageFile="roleadd.aspx?ID=" + id+"&HSDID="+HSDID;
window.location.href=pageFile;
}
</script>
<a href="Edit.aspx?id=<%#Eval("id")%>&HSDID=<%#Eval("HSDID") %>"></a>
<asp:LinkButton ID="LinkButton2" runat="server" CommandName="Edit" CommandArgument='<%#Eval("id")+","+Eval("HSDID")%>' OnClick="LinkButton2_Click1" >LinkButton</asp:LinkButton>
protected void LinkButton2_Click1(object sender, EventArgs e)
{
if (e.CommandName == "Edit")
{
string id = e.CommandArgument.ToString().Split(',')[0].ToString();