110,533
社区成员
发帖
与我相关
我的任务
分享
private void save()
{
try
{
string str = string.Empty;
str = Dtos.Count.ToString ();
int i=int.Parse(str);
if (i>0)
{
throw new Exception("更新了" + i + "行记录!");
}
}
catch (Exception ex)
{}
MessageBox.Show(ex.Message);
}
}
private void save()
{
try
{
string str = string.Empty;
str = Records_MoneysQDtos.Count.ToString ();
int i=int.Parse(str);
if (i>0)
{
MessageBox.Show("更新了" + i + "行记录!");
}
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}
好吧,我改了,就是现在我按了删除按钮之后再按保存没有出来更新一条记录,我想让他展现。。。