Cannot Update Database (2.0)

Tech-Archive recommends: Fix windows errors by optimizing your registry



Okay, I've found that a couple of samples apps (at least, Web apps) can successfully update a database on my system. But I still cannot determine why some will not.

I've prepared two tiny projects that will not update the database. I would be very grateful if anyone is in a position to take a look at either or both to see if they can tell me why.

WinDbTest (http://www.softcircuits.com/WinDbTest.zip - 1.03MB)
==============================================
This is a very simple C# Windows application. I created a simple database object and added several rows of data in Visual Studio.

I then added a new data source and selected the database created in the previous step.

Next, I dragged the table from the Data Sources window and dropped it on my form. This created a DataGridView control along with several data objects (DataSet, BindingSource, TableAdapter, BindingNavigator).

Then I run the app and everything appears to work fine. I can navigate through and create new records.

The problem is when I quite the application and restart it, all the changes I made in the previous session are lost.

WebDbTest (http://www.softcircuits.com/WebDbTest.zip - 247KB)
==============================================
This is an older sample Web application. I tried to create a new Web app for this post but it actually worked! But this one does not and, although I've compared the two extensively, I cannot figure out why the new one worked when this one will not.

Again, everything appears to work. But when I make some changes and click Update, my changes are lost.

Thanks for any tips!

Jonathan

.



Relevant Pages

  • RE: Import external data - web query
    ... Your reply for my query is very extensive, this is for importing a file from ... The data source I want isn't listed in the Select Data Source dialog box. ... information used to connect to a database. ... Check your driver First, make sure you have the right ODBC driver (Open ...
    (microsoft.public.excel.misc)
  • Re: Word 2003 Closes upon update of sort order of table using Acce
    ... "Peter Jamieson" wrote: ... within the database name text box. ... let's step through the basic approach needed to make the connection ... start the process of connecting to a data source ...
    (microsoft.public.word.mailmerge.fields)
  • RE: Import external data - web query
    ... The data source I want isn't listed in the Select Data Source dialog box. ... information used to connect to a database. ... I can't create a new data source in Microsoft Query. ... Check your driver First, make sure you have the right ODBC driver (Open ...
    (microsoft.public.excel.misc)
  • Re: Mial merge data base problems
    ... Are you saving the document after locating the data source? ... it would stop asking me for the database (it would ... It never opens to the right ... > I'm doing files on an individual per recipient basis. ...
    (microsoft.public.word.mailmerge.fields)
  • Re: Using a query as a data source for a mail merge
    ... use OLEDB to open an Access data source. ... I don't know of any way to specify the database password in the ... got the database open - in that case, Access should prompt in the usual way. ... but it says Word cannot find the data source. ...
    (microsoft.public.word.mailmerge.fields)