Dear Friendz
Ihave face problem with null value i remove the chk from null value n sql server and when i direct save anything in table it dosen't accept null value but when i save these in my form it accept null value . i don't know why form do these plz help me about these problem
like_bilal02
0
Light Poster
Recommended Answers
Jump to PostChanging the allow null in sql is not automatically picked up by VS designers.
You need to manually change the AllowDBNull property of each column in your tables.
You can do this in the dataset designer.
Jump to PostAssuming that you created a DataSet using the Visual Studio designer and dragged a table from your DB on to the design surface the table will have been created using the values from the DB at that time. Any changes to the DB are not automatically updated in the dataset …
Jump to PostAllowDBNull is a property on the data columns.
Show me the code where you create the dataset and I'll try to help.
All 11 Replies
nick.crane
342
Veteran Poster
like_bilal02
0
Light Poster
nick.crane
342
Veteran Poster
like_bilal02
0
Light Poster
nick.crane
342
Veteran Poster
like_bilal02
0
Light Poster
nick.crane
342
Veteran Poster
like_bilal02
0
Light Poster
nick.crane
342
Veteran Poster
like_bilal02
0
Light Poster
speedcat
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.