Hello!
Why when I try to save a null value from textbox at sql server 0 is saved?
The field type is number.
I use an insert query to do that
thanx in advance
skran 9 Light Poster
Recommended Answers
Jump to PostAs it is a number datatype a null value wont be stored in the column....it will store 0 as null value....
change it to text and then u can save a null value....
All 3 Replies
thines01 401 Postaholic Team Colleague Featured Poster
poojavb 29 Junior Poster
thines01 commented: Good catch! +12
Vinamra_1 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.