Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Default value for insert using FormView
Message
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Default value for insert using FormView
Environment versions
Environment:
C# 3.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01350664
Message ID:
01350664
Views:
56
Hi everybody,

We're using UserControls with FormViews and SQLDataSource. One of the field is IsActive with a checkbox used to show it.

I'm wondering what should I do to make it insert 1 by default? Is setting checkbox.checked = 1 would be enough?

Thanks in advance.

--------------------------------
UPDATE. Yes, that's enough.
If it's not broken, fix it until it is.


My Blog
Reply
Map
View

Click here to load this message in the networking platform