Format values in a Datagrid

后端 未结 3 554
我寻月下人不归
我寻月下人不归 2020-12-15 10:00

Is there any way to format the values that are bound to a datagrid? For example I have the following:



        
3条回答
  •  [愿得一人]
    2020-12-15 10:26

    Use the StringFormat property:

    
    
    
    • Standard Numeric Format Strings
    • Standard Date and Time Format Strings

提交回复
热议问题