473,398 Members | 2,525 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

DB does not update using dbNavigator

Hi there,
Here are the steps I do to insert data into an MS Access db:
1.make new Datasource
2.Drag a table from DataSource sidebar in VS 2005 into a winForm
3.now we have a datagridview and a dbNavigator in the form
4. F5
5.enter new data into datagrid
6.Save button
7.check the mdb file---> no Data!!!
8. the eventhandler for Savebutton is correct
9. no errors
10. there is data in grid before application is terminated.

the very same proccess for SQL db is correct and is working properly.
is there any problem with mdb file?
Thanks
Saman

May 5 '06 #1
2 1844
Help please :)

May 6 '06 #2
<ec*******@gmail.com> wrote in message
news:11**********************@i40g2000cwc.googlegr oups.com...
Hi there,
Here are the steps I do to insert data into an MS Access db:
1.make new Datasource
2.Drag a table from DataSource sidebar in VS 2005 into a winForm
3.now we have a datagridview and a dbNavigator in the form
4. F5
5.enter new data into datagrid
6.Save button
7.check the mdb file---> no Data!!!
8. the eventhandler for Savebutton is correct
9. no errors
10. there is data in grid before application is terminated.

the very same proccess for SQL db is correct and is working properly.


Did you add the mdb file to your VS project? If so then I think that by
default you can end up with two copies of the file, one in the main project
directory and one in the bin directory, and every time you run the
application one of them gets copied to the other. If this is the case then
maybe you're looking at the wrong one after running the application. If this
isn't the solution, I don't have any other ideas - sorry.

Chris Jobson
May 6 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Will Pittenger | last post by:
I have a project where the backend is Access. I have learned (slowly) to use OLEDB to access my data. However, to save changes, I need to generate a SQL statement. This seems clunky. I am used...
14
by: Anoop | last post by:
Hi, I am new to this newsgroup and need help in the following questions. 1. I am workin' on a GUI application. Does C# provides Layout Managers the way Java does to design GUI? I know that it...
6
JKing
by: JKing | last post by:
I'm using an update query to update a single field in a table. Table1 is part of my normalized table structure. Table2 is used solely as an import table for raw data which I sort and summarize...
2
by: John Kotuby | last post by:
Hi all, Maybe this belongs in the Full Text group but I am writing an ASP.NET application with a SQL Server 2005 backend, so I am posing the question here. I have been using fulltext search...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.