By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,959 Members | 1,136 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,959 IT Pros & Developers. It's quick & easy.

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

P: 1
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
Share this question for a faster answer!
Share on Google+

Post your reply

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