Link to home
Start Free TrialLog in
Avatar of Tec-Futures
Tec-FuturesFlag for United States of America

asked on

Using access as an asp.net application database

I have access as a database for an asp.net application.  When I try to submit data I get a error that I cannot submit null values. The access required field is set to no on all fields in the table.

Configuration:
2 asp.net - access data provider
   one for a filtered DDL
   one for the formview
1 form view control
1 DDL drop down list


the form view is filtered by the DDL
the form view is configure to allow update, delete and new records

no code behind all code is declarative code

I have an access data provider connected to a form view control. The data provide is using a wild card and filtering off a second data source attached to a drop down list with a filtered filed. The app works as plan but when I try to insert a record the page blows up and indicates that I cannot us null values
Error.PNG
Avatar of Scott Fell
Scott Fell
Flag of United States of America image

By any chance are you trying to insert data into your auto number field?  I would also try and handle the data prior to insert.
ASKER CERTIFIED SOLUTION
Avatar of Manoj Patil
Manoj Patil
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Tec-Futures

ASKER

Both answers were correct.

Tech your information was a little more detailed which led me to solving the problem.

padas your response was correct as well but it left me trying to figure out where and what to remove.