Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Login form pre hook
Message
De
06/03/2007 21:42:24
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01199014
Message ID:
01201336
Vues:
15
>You could put this code in your form's constructor (to get a list of users):


public UserLoginForm()
{
InitializeComponent();
this.UserIDConnect = "sa"; // You only need something like this if using SQL Server auth

DataSet ds = mmAppBase.SecurityMgr.oUser.GetAllUsers();
}


I was thinking the documentation indicated this.UserIdConnect = .. needed to go before InitializeComponent() presumably to allow any data bound controls to get setup. I was trying to figure out where in the process this.UserIDConnect was actually used. Thanks for your help, I shall go back and get this part working now.

Tim
Timothy Bryan
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform