Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Apr 10, 2012 01:26 AM by Decker Dong - MSFT
Apr 08, 2012 04:35 PM|LINK
Hi, I was wondering if it is possible that in my detail view that fields that are hidden that a user cant access can be given a default value of 0 so when its added to the database it will have that value and not just be blank.
Any help would be appreciated.
Apr 10, 2012 01:26 AM|LINK
Just open your db in the SQL Management Studio and set the default value by using SQL or in the property panel。Please omit the parameter for the specific column，because the value is generated
from SQL instead of being assigned by you。And you should set the field in the DetailsView's property "Read-Only"=True to avoid being set……