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.
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……
iveseenya
Member
16 Points
16 Posts
Auto Value in detail view
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.
Thanks
Paul
Decker Dong ...
All-Star
118619 Points
18779 Posts
Re: Auto Value in detail view
Apr 10, 2012 01:26 AM|LINK
Hello:)
【Solutions】
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……
Reguards!