Hi everyone,
I'm having the error msg. "ıbmdadb2" E_FAIL(0X800004005) when I try to delete a row on the dataset.
I populate the table in many combination of selections, no problem. But when I try to delete a line, I can do it on gridview but I cannot do it on database and I get error msg. This is where I get the msg.
foreach (DataGridViewRow row in tblOrderList.SelectedRows)
{
tblOrderList.Rows.Remove(row);
}
try
{
da.Update(ds, "Orders");
//da.Update(tb);
ds.AcceptChanges();
// refresh the listbox after the delete
PopulateTable();
// inform the user
MessageBox.Show("Rows deleted");
I'm the first time user of dataset update,delete,insert . Probably I'm failing in definition there. But things work OK with populating in a variety of approaches. So I appreciate any clue what I might be doing wron
Thanks
sureyya