Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Validating entry in Textbox
Message
 
 
À
26/10/2004 16:39:32
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
ASP.NET
OS:
Windows 2000 SP3
Database:
Visual FoxPro
Divers
Thread ID:
00954572
Message ID:
00954723
Vues:
15
Thank you for the suggestion. I will try it.

>i would set it up something like this
>
>public intCustomerID as integer
>
>'Enter Event
>intCustomerID = Me.txtCustomerID.Text
>
>'Leave Event
>If intCustomerID <> Me.txtCustomerID.Text Then
> intCustomerID = Me.txtCustomerID.Text
> 'Call database and Load other Textboxes
>End If
>
>You can also check into the Validated and Validating Event. Then if
>the customerID is no good return False so the user stays in the
>txtCustomerID textbox.
"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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform