Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating look-up control in WinForm
Message
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Titre:
Creating look-up control in WinForm
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01439754
Message ID:
01439754
Vues:
115
Hi,

In my VFP app I have a lookup control (Account #) which is a container with textbox and a button. On click of the button a separate form pops with a grid showing accounts. User selects an account and clicks on Ok button.

In a WinForms application, do you suggest creating a User Control (with a textbox and a button)? And then also pop-up another form with a grid?
In terms of getting the data from a table for this control, do you suggest that a typed dataset for this look-up control (list of accounts) be filled in the INIT method of the look-up control? Is this how it is done in .NET WinForms?

TIA.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform