| | |
This Blank Database Record!
Please support our C# advertiser: Intel Parallel Studio Home
![]() |
I'm having an issue with an application connected to a database, where when I open the application it seems there is a blank record that cannot be edited or saved. The user can't just start entering data into blank fields, but MUST click a button to add a new record first, otherwise the entered data won't be saved. This blank record remains in the database. The app has several forms, each connected to a table, and I have the same issue with all of them.
The IDE generated the binding navigators and I can't find the code it created for creating a new record; I'm thinking that I can solve this by executing an "add record" when the form loads.
Is this correct, or is there another way to prevent this from happening?
As always, I would like to be able to understand the concept behind this, but if all I can get is some code that will solve it, I'll take it!
The IDE generated the binding navigators and I can't find the code it created for creating a new record; I'm thinking that I can solve this by executing an "add record" when the form loads.
Is this correct, or is there another way to prevent this from happening?
As always, I would like to be able to understand the concept behind this, but if all I can get is some code that will solve it, I'll take it!
:!: In The Beginning, God; In The End, God. In between, believe whatever you like. :)
![]() |
Similar Threads
- Visual C#: Inserting an Access Database Record (C#)
- How to link Tab and combine the value in database (ASP.NET)
- Inserting a new Access Database Record (VB.NET)
- New Database File (C#)
- How can I refresh DataBase without closing Form (Visual Basic 4 / 5 / 6)
- creating a MSDE database (Database Design)
- How can I refresh DataBase without closing Form Attached with my Coding (Visual Basic 4 / 5 / 6)
Other Threads in the C# Forum
- Previous Thread: HelpProvider Namespace Problem
- Next Thread: Visual Studio 2005 Launch Poll
| Thread Tools | Search this Thread |
.net 2007 access ado.net algorithm array barchart bitmap box broadcast buttons c# check checkbox client color combobox control conversion csharp custom database databaseconnection datagrid datagridview dataset datetime degrees development draganddrop drawing encryption enum event excel file files form format formbox forms function gdi+ httpwebrequest image index input install java label list listbox listener mandelbrot math mouseclick msword mysql opening operator parse path photoshop picturebox pixelinversion post programming radians regex remote remoting richtextbox save saving serialization server sleep socket sql statistics stream string table tcp temperature text textbox thread time timer update usercontrol validation view visualstudio webbrowser windows winforms wpf xml





