public DataSet UpdateDataBase(DataSet changedDataSet, string tableName)
{
this.myConnection = new SqlConnection(connectionString);
this.da = new SqlDataAdapter(this.strSQL, this.myConnection);
this.sqlCmdBld = new SqlCommandBuilder(da);
this.da.Update(changedDataSet, tableName);
return changedDataSet;
}
这样用的
this.link.UpdateDataBase(sendSQL);
this.link.UpdateDataBase("exec sf_进货单");
this.link.UpdateDataBase ( tempSendStrSQL );
然后出错了
怎么改啊?