<asp:ButtonField Text="成立" CommandName="assReg"/>
protected void grdSignedAss_RowCommand(object sender, GridViewCommandEventArgs e)
{
if (e.CommandName == "assReg")
{
int intRow = int.Parse(e.CommandArgument.ToString()); //获取当前所在行
string strUniqueID = grdSignedAss.DataKeys[intRow].Value.ToString();
}
}
{
if (e.CommandName == "assReg")
{
int intRow = int.Parse(e.CommandArgument.ToString()); //获取当前所在行
string strUniqueID = grdSignedAss.DataKeys[intRow].Value.ToString();
}
}