
Table Lookup
Used to automatically convert foreign key columns to Text
display text
Auto-translate display text by setting Lookup
Demo
In this example, by setting the Lookup
value of the Complete
column to the value
DataSource = new List<SelectedItem>
{
new SelectedItem { Value = "True", Text = Pass },
new SelectedItem { Value = "False", Text = Failed }
};
The component automatically converts Complete
to a preset in the DataSource
collection
In this example, the ILookupService
service is used for unified processing, and the Lookup
data collection is obtained from the service by setting the LookupServiceKey
value
B station related video link
交流群