<Asp: linkbutton id = "btnselect" runat = "server" commandargument = '<% # getargument (eval ("order_form_id"), Eval ("school_id") %>'
Commandname = "slelect" text = '<% # resumbelong (convert. toint32 (eval ("school_id"), convert. toint32 (eval ("order_form_id") %> '> </ASP: linkbutton>
Protected void gvgetall_rowcommand (Object sender, gridviewcommandeventargs E)
{
Switch (E. commandname)
{
Case "slelect ":
{
String argument = E. commandargument. tostring ();
String formid = convert. tostring (argument. Split ('#') [0]. tostring ());
String schoolid = convert. tostring (argument. Split ('#') [1]. tostring ());
String URL;
Url = "ecstudentgather. aspx? Schoolid = "+ schoolid. tostring () +" & orderid = "+ formid. tostring ();
Response. Redirect (URL );
Break;
}
}
}
Protected string getargument (Object ID, object isauditing)
{
Return ID. tostring () + "#" + isauditing. tostring ();
}