|After reading from a page on the msdn site, | have modified my code - this is actually an insert to a different table in the same database. I no longer receive errors; however, the code does not insert the record. I googled and found other people experiencing the same problem, where the code is apparently correct, but the insert (or update, as some found) never happens...
private void btnAddAttend_Click(object sender, EventArgs e)
string status = txtStatus.Text;
string desc = txtDesc.Text;
bool charge = chkCharge.Checked;
MTATestTableAdapters.AttendanceTableAdapter attendTA = new AttendanceTableAdapter();
attendTA.Insert(status, desc, charge);
txtStatus.Text = "";
txtDesc.Text = "";
chkCharge.Checked = false;
What is odd is that when I do a query to find the row count, it increments as if the data has been added. But, if I search for a particular entry, only those entries I manually added to Access appear...