Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Binding fields
Message
De
07/01/2006 09:54:02
 
 
À
06/01/2006 10:45:59
John Baird
Coatesville, Pennsylvanie, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Titre:
Divers
Thread ID:
01083084
Message ID:
01084396
Vues:
10
>Thanks for the reply Bonnie. We are going to do this.<

You're welcome, John. Have fun! =)

~~Bonnie


>
>>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?
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform