Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Default value for insert using FormView
Message
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Default value for insert using FormView
Versions des environnements
Environment:
C# 3.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01350664
Message ID:
01350664
Vues:
55
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
Répondre
Fil
Voir

Click here to load this message in the networking platform