473,394 Members | 1,722 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,394 software developers and data experts.

when I connect Visual basic.net 2010 with sql server 2008 by dataset and i drag table

I have a vb.net 2010 winform data app with sql server 2008 backend. The ID
field
in the tblClients table is an 'int' identity column that does not allow
nulls. The problem is that when I try to save the record using the
below
code;

Me.Validate()
Me.MMOBindingSource.EndEdit()
Me.TableAdapterManager.UpdateAll(Me.NNDatasetaS)

I get an 'Column 'ID' does not allow nulls' error on the second line
Me.MMOBindingSource.EndEdit(). What is the
problem and how can I fix it?

Thanks

Regards
Oct 11 '16 #1
0 808

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

Similar topics

0
by: ladar | last post by:
Hi, i need a help how to connect visual basic 6 with oracle. I have a little knowledge about visual basic and i want to connect it to the oracle in the server side, so give me so hint.
1
by: murlikrishna | last post by:
i was created an application in visual basic 2010 .but need to make my application to automatically run at windows start up.i know in vb6.0 but i dont know in vb2010 i got an idea to copy the...
1
Gobindap
by: Gobindap | last post by:
I have deployed a webpage via visual studio 2010 in my local hard drive. Now I want to access it without opening visual studio and without using windows IIS feature . How can I do it? Please help...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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...

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.