473,498 Members | 1,656 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Binding Navigator Question

1 New Member
Hi all,

I am a newbie using VB.net in VS 2008.

I took over a vb.net winform application that has a binding navigator in it.

The users wanted to add 2 new fields to the form. I added the new fields to the SQL Server 2005 database. I refreshed the Data Source tab in the project. It recognizes the 2 new fields.

I dragged them onto the form.

When I go to add a record through the application, it does NOT save these 2 new fields. I check the properties for these 2 new fields under "Data Bindings" and it shows under the "Text" property the correct Binding Source and column name.

Can any one help me with what I am doing wrong? I need to store these 2 new fields to the table.

Thanks in advance.
Jan 16 '09 #1
1 2382
OuTCasT
374 Contributor
Have you bound the data dynamically ???

Expand|Select|Wrap|Line Numbers
  1.  
  2. sqlCurrencyManager.EndCurrentEdit()
  3. sqlcon.Open()
  4. Dim sqlUpdate As New SqlCommandBuilder(sqlEmployeeAdapter)
  5. Try
  6. sqlAdapter.Update(sqlDataTable)
  7. Catch sqlExc As SqlException
  8. MessageBox.Show(sqlExc.ToString, "SQL Exception Error!", _
  9. MessageBoxButtons.OK, MessageBoxIcon.Error)
  10. End Try
  11. sqlcon.Close()
  12.  
Jan 29 '09 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
935
by: Mike | last post by:
I wasn't real sure which was the best group for this post - please feel free to redirect to the appropriate group(s). My form uses a binding navigator to move through my data source (imagine...
1
2900
by: ankz | last post by:
Hi Guys I have got 3 tables - in Access Database with Student ID as primary Key in all and all tables are linked with 1 to 1 relationship. I have code the everying with manual program to...
1
2009
by: =?Utf-8?B?Sm9iIExvdA==?= | last post by:
how can i add a check box to binding navigator control? thanks
0
1447
by: =?Utf-8?B?Q2hyaXM=?= | last post by:
I am dragging a data souce (access.mdb) to a form. C# automaticallt creates the table adapter, binding adapter, etc. But for some reason, it is not automatically creating the binding navigator. Any...
3
2776
by: Rick | last post by:
VS 2005 The short version: How can I set the enabled state of a button depending on if a strongly-typed datatable has a DeleteCommand? *************************** The long version:
2
3284
by: Randy | last post by:
Hi, I'd like to add a new blank record to a form for the user to input data. What I am trying to do is exactly what the + on the binding navigator does, with some additional steps involved. So,...
2
10064
by: Randy | last post by:
Hi, I'm trying to figure out some binding navigator code. If I have the primary field value as selected by the user in a combo box, how can I instruct the binding navigator to move to that...
0
914
by: ashishchatterjee | last post by:
how can we move the data in the field using binding navigator tool so please send methe code for the following. OS: windows xp sp2 Languge:visual studio2005
1
2738
by: qazplm114477 | last post by:
hello, I have notice that when i drag a table/column from my dataset onto my form, VS2008 automatically populates the form with a binding navigator and some other stuff like the tableadapters and...
1
6887
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
7379
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
5462
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4910
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...
0
4590
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3093
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3085
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1419
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
291
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.