G
Guest
What am I missing here? Based on what the help files tell me, it seems like
my code should look like this:
libraryTableAdapter1.Fill(library1._Library);
libraryTableAdapter1.Insert(result, 1, 0, 0, 0, 0, "",
"", "", "", 2000);
libraryTableAdapter1.Update(library1._Library);
library1._Library.AcceptChanges();
When my program finishes, however, there is nothing new. The row was never
added to the actual db.
libraryTableAdapter1 is a TableAdapter
library1 is a DataSet
result is a string
PS: This is in VS2005.
my code should look like this:
libraryTableAdapter1.Fill(library1._Library);
libraryTableAdapter1.Insert(result, 1, 0, 0, 0, 0, "",
"", "", "", 2000);
libraryTableAdapter1.Update(library1._Library);
library1._Library.AcceptChanges();
When my program finishes, however, there is nothing new. The row was never
added to the actual db.
libraryTableAdapter1 is a TableAdapter
library1 is a DataSet
result is a string
PS: This is in VS2005.