为什么会报输入字符串格式不正确
在获取GridView某一行Id的为什么报输入字符串格式不正确!
protected void GridView1_RowCommand(object sender, GridViewCommandEventArgs e)
{
if (e.CommandName == "lnkDel")
{
BLLSingInfo bllsinger = new BLLSingInfo();
modSingerInfo mod=new modSingerInfo() ;
mod.SingerId = Int32.Parse(e.CommandArgument.ToString());输入字符串格式不正确?
bllsinger.DeleteOneUserInfo(mod);
this.GridView1.DataBind();
}
}