62,244
社区成员




int rIndex = GridView1.SelectedIndex;
Label lbl = (Label)GridView1.Rows[rIndex].FindControl("lblpCode");
string pCode = lbl.Text;
ClientScriptManager cs = Page.ClientScript;
string script = "<script> window.open('UserDetails.aspx?pCode="+pCode+"','_blank','width=780,height=550');</script>";
cs.RegisterStartupScript(this.GetType(), "", script, true);
int rIndex = GridView1.SelectedIndex;
Label lbl = (Label)GridView1.Rows[rIndex].FindControl("lblpCode");
string pCode = lbl.Text;
ClientScriptManager cs = Page.ClientScript;
string script = " <script> window.open('UserDetails.aspx?pCode="+pCode+"','_blank','width=780,height=550'); </script>";
cs.RegisterStartupScript(this.GetType(), "", script, true);