DataBinding could not find a row in the list that is suitable for all bindings

robbycraig

Member
Joined
Mar 2, 2006
Messages
7
Programming Experience
1-3
Hi I am developing a front end to an sql server 2000 database in visualstudio.net using visual basic.net.
I have used dataadapters to populate a data set with the data I want diplayed as well as its lookups.
I have a form showing a signal record at a time by binding the text box's and the combo boxes to the correct data in the dataset, but the combo boxes also lookup data in other tables in the dataset.
When I try to add a new record using the following code

Me
.BindingContext(dataset, "tabel name").AddNew()

I get the following error
DataBinding could not find a row in the list that is suitable for all bindings

Any suggestions, I read somewhere it might have something to do with my combo boxes not allowing nulls
Any help would be much appreciated

 
Back
Top