right click table name ->
Modify
now select column from list, uncheck '
Allow Nulls'
for set default value,
see, column properties there is
Default value or Binding property set it to
0
Save...
now, when ever user pass null in insert query it will take it's value 0
Note : for records already exist in table will not be affect (will not apply automatically 0 instead of null)
so, if you want this in existing records then fire update query
e.g.
update tbl1 set col1=0 where col1=Null
Happy Coding!
:)