In my SQL Server table, if the column value(integer) is nothing it’s inserting value is -1. If i select all column values from table and showing on ASP.net grid it is showing -1 on specified column. I don’t want to show it as -1 it need show like some thing like “null or none”. How can get this?
In my SQL Server table, if the column value(integer) is nothing it’s inserting value
Share
1 You can insert null in your DataBase. (In your datas you use Type Nullable in order to match )
2 You can also treat your information in your Gridview, by deleting -1 and replacing with null value.