【初学者求帮助】关于C
【菜鸟求帮助】关于C#
在编译过程出现以下错误,并且重新生成.exe文件没了请问以下这是什么原因,应该怎样修改 谢谢
@CSharper

文件已上传至百度网盘
http://pan.baidu.com/share/link?shareid=1699179302&uk=858197245
------解决方案--------------------
改成这样:
procOperator这个方法执行一个存储过程,然后接收影响的行数,所以要判断是否大于0。
在编译过程出现以下错误,并且重新生成.exe文件没了请问以下这是什么原因,应该怎样修改 谢谢
@CSharper
文件已上传至百度网盘
http://pan.baidu.com/share/link?shareid=1699179302&uk=858197245
c#
------解决方案--------------------
改成这样:
if (db.procOperator(proc, textBox1.Text.Trim(), textBox2.Text.Trim()) > 0)
{
MessageBox.Show("操作成功!", "温馨提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
this.Close();
}
procOperator这个方法执行一个存储过程,然后接收影响的行数,所以要判断是否大于0。