在这里,我从下面的上一封电子邮件中收到消息
private void btnSave_Click(object sender, EventArgs e)
ConnStr = "Data Source=FIN03;Initial Catalog=CmsTest;Integrated Security=True";
cn = new SqlConnection(ConnStr);
cn.Open();
SqlCommand cmd = new SqlCommand();
cmd.Connection = cn;
mytran = cn.BeginTransaction(IsolationLevel.Serializable );
cmd.Transaction = mytran;
try
scb = new SqlCommandBuilder(da);
da.Update(ds, "tblworker");
mytran.Commit ();
MessageBox.Show("Data update successfully");
catch (Exception err
mytran.Rollback();
MessageBox.Show(err.Message.ToString());
请给我更简短的定义: -什么是ds? -什么是tblworker?
我已经完成了此命令,它与Vb.net一起用红色下划线