Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Binding fields
Message
From
06/01/2006 10:45:59
John Baird
Coatesville, Pennsylvania, United States
 
 
To
04/01/2006 12:21:58
General information
Forum:
ASP.NET
Category:
Forms
Title:
Miscellaneous
Thread ID:
01083084
Message ID:
01084085
Views:
9
Thanks for the reply Bonnie. We are going to do this.

>John,
>
>You need to have a ComboBox in your DataGrid. Check out the SyncFusion FAQ about how to do that:
>
>http://www.syncfusion.com/FAQ/WindowsForms/FAQ_c44c.aspx#q480q
>
>~~Bonnie
>
>
>
>>I have an SQL table RowFilter: FilterField, FilterOperator, FilterExpression.
>>
>>These fields are selected via stored proc into a datatable, which is subsequently bound to a .net datagrid.
>>
>>The filterOperator in the table is a numeric storing the index (dropdown box) of the selected operator. The dropdown is bound to an enum of operator types. (None, Equal, NotEqual, ...)
>>
>>
>>When filterOperator is bound to a datagrid column, the datagrid is showing the numeric value 0 OR 1 OR 2 depending on the row. I want it to show the corresponding string from the enum, ie. "GreaterThan", "Equal", etc.
>>
>>How do I bind the field to the grid to display the string value of the relevant enum?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform