Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to display a lookup value in Winform textbox?
Message
 
To
All
General information
Forum:
ASP.NET
Category:
Forms
Title:
How to display a lookup value in Winform textbox?
Environment versions
Environment:
VB.NET 1.1
OS:
Windows XP SP2
Database:
MS SQL Server
Miscellaneous
Thread ID:
01003915
Message ID:
01003915
Views:
112
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
Next
Reply
Map
View

Click here to load this message in the networking platform