Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to display a lookup value in Winform textbox?
Message
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Titre:
How to display a lookup value in Winform textbox?
Versions des environnements
Environment:
VB.NET 1.1
OS:
Windows XP SP2
Database:
MS SQL Server
Divers
Thread ID:
01003915
Message ID:
01003915
Vues:
114
Hi All,

I'm new to .NET and trying to display a lookup value in a WinForm textbox.

In VFP, I would put something like this in the Refresh() method of a readonly textbox to show the ProductName as I navigated through the OrderDetail table:
IIF(SEEK(OrderDetail.ProductID,'Product','ProductID'),Product.ProductName,'')
An alternative in VFP is to SET RELATION between the OrderDetail and Product tables and bind the textbox to the Product.ProductName.

How is this best done in .NET?

TIA,
Larry Tucker
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform