p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Visual Basic 2005 Basics (http://p2p.wrox.com/forumdisplay.php?f=137)
-   -   BindingNavigator Question (http://p2p.wrox.com/showthread.php?t=35774)

Ankur_Verma December 10th, 2005 03:25 AM

You are welcome buddy. Do write back.


jaywalking March 13th, 2006 05:30 PM

So I think I've tracked down the root of the whole problem. When you add the access file as a data source to your project, Visual Studio asks you if you want to copy the database file into your project workspace. If you answer "yes" to this, VS gives you a fresh copy of the data base to work with every time you run the project. Your changes are being propagated back to the Access db, but it's saving to the copy in your bin directory. Since that DB gets overwritten every time, you can't see the changes unless you manually start the application yourself by clicking on the icon in the bin directory (as opposed to launching it from visual studio).
Since the book's example is with a SQL database, it doesn't mention the dialog that happens when you use a database file on the local machine.

preston_jb April 27th, 2006 08:27 AM


I have the same problem, but I am not using Access, rather I am using SQL Server 2005 with the *.dbo extension.

I am hoping that maybe you can help me resolve my problem as well.

I am using Window 2000 Server w/Sp 4 and all the latest updates.

Thanks in advance for your response.


r_083_rt October 19th, 2006 09:29 PM

Dear Ankur, I'm facing the same problem like wb8bgy and preston_jb. Could you send me email of the sample code to my email address : roberts@apotik2000.net. I really frustated with this situation. Thanx in advance.

salemkoten October 24th, 2006 03:14 AM

Hi Ankur, I also have the sam prob, I use MSSQL2005 express. Please send the same code to my e-address: hoa0612@gmail.com
Thanks in advance.

salemkoten October 24th, 2006 03:20 AM

PS: I can update my databases by using sqlDataAdapter control, but using code failed.
Could you send me email?

maatthias February 12th, 2008 09:12 PM

Thank you for this posting!! This saved me some development time and headache tonight.

Ankur_Verma February 19th, 2008 11:02 AM

Poem to my ears. Glad to know it was of use to you.


All times are GMT -4. The time now is 11:03 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.