本文介绍了如何更新ID相同且自动递增的已保存数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
try
{
//objBll.Consignorid = txtCnsgnrID.Text;
objBll.ConsignorFname = txtCnsgnrFname.Text;
objBll.ConsignorLname = txtCnsgnrLname.Text;
objBll.ConsignorComanyName = txtCnsgnComName.Text;
objBll.ConsignorAddress = txtCnsgnrAddress.Text;
objBll.ConsignorLandlineNo = txtCnsgnrLNo.Text;
objBll.ConsignorPNo = txtCnsgnrPhNo.Text;
objBll.ConsignorEmail = txtconrEmail.Text;
objBll.Update("Consignor", "spUpdateConsignor");
Response.Write("<script>alert('Data Save Successfully')</script>");
MessageBox.Show("Update success");
clearConsignorInputText();
}
catch (Exception ex)
{
MessageBox.Show("Err in private void UpdateConsigner() :" + ex.Message);
}
推荐答案
这篇关于如何更新ID相同且自动递增的已保存数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!