Franck wrote:
hello,
i'm looking for code (C# preferably)
in order to change programmatically in a datagrid
the string formatting expression of one bound colum
thank you
I do not have enough information.
The only solution that I can think of, is that you have to drop the
aspx-style binding to the column, and rather do this in ItemDataBound by
referencing the datasource from the e.Item.DataItem and reference a
control (literal or whatever) in the ItemTemplate instead.
Where do you want to change the format string, based on what criteria?
--
Emil Christopher Melar