V
vinnie
I made simple project where it show a table (that i previously made in
MS SQL).
When i start the project and i add a row, clicking the save button all
work. But if i want to cancel the full row, the cancel button does not
perform the job, practically nothing happens. The code behind the
cancel_button click event is:
private void BtnCancel_Click(object sender, EventArgs e)
{
this.CMSDataSet1.tbl_worker.Clear();
this.tbl_workerTableAdapter.Fill(this.CMSDataSet1.tbl_worker);
}
Thanks
MS SQL).
When i start the project and i add a row, clicking the save button all
work. But if i want to cancel the full row, the cancel button does not
perform the job, practically nothing happens. The code behind the
cancel_button click event is:
private void BtnCancel_Click(object sender, EventArgs e)
{
this.CMSDataSet1.tbl_worker.Clear();
this.tbl_workerTableAdapter.Fill(this.CMSDataSet1.tbl_worker);
}
Thanks