Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
332
Format on a GridColumn using Linq
posted

Hello everybody

I have a WinGrid which DataSource is made from a Linq Query. Everything works fine. Now, when I try to Format a Column like

e.Layout.Bands[0].Columns[

"ColumnName"].Format = "{0:##,##0.00}";

the Format ist not accepted. Following things I already tried:

  • Convert the Column as a  string in my Linq Query
  • Convert the Linq Query to a dataset and bind this to the grid

It doesn't matter what I try, the Format is not accepted.

I am working with Infragistics Winforms 9.1

Thanks for help

Parents Reply Children
No Data