无法将类型“string”隐式转换为“bool”
protectedvoidgv_RowDataBound(objectsender,GridViewRowEventArgse){if(e.Row.RowType==Da...
protected void gv_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
((LinkButton)e.Row.Cells[6].Controls[0]).Attributes["onclick"] = "if(!confim('确定要审核该信息吗?'))return false;";
}
e.Row.Cells[5].Text.Trim().ToString() = "0"?"未审核":"已审核";
}
protected void gv_SelectedIndexChanged(object sender, EventArgs e)
{
string _id = gv.SelectedRow.Cells[0].Text.ToString();
string sql = "update ...";
}
这里那里错了啊? 展开
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
((LinkButton)e.Row.Cells[6].Controls[0]).Attributes["onclick"] = "if(!confim('确定要审核该信息吗?'))return false;";
}
e.Row.Cells[5].Text.Trim().ToString() = "0"?"未审核":"已审核";
}
protected void gv_SelectedIndexChanged(object sender, EventArgs e)
{
string _id = gv.SelectedRow.Cells[0].Text.ToString();
string sql = "update ...";
}
这里那里错了啊? 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询