C
Carl
Hi, in the following code,
DataGridColumnStyle TextCol5 = new DataGridTextBoxColumn
();
TextCol5.MappingName = "fl_taxable";
TextCol5.HeaderText = "Taxable";
TextCol5.Width = 75;
ts1.GridColumnStyles.Add(TextCol5);
I will like to have a transformation done on the int
field fl_taxable from the dataset.
I will like to change the int value (enum) to is string
equivalent to be display on the grid with,
Enum.GetName(typeof(Form1.enumTAXABLE), field_value)
So how can I have that transformation function event
done/fired.
Any help will be appreciated.
Carl,
DataGridColumnStyle TextCol5 = new DataGridTextBoxColumn
();
TextCol5.MappingName = "fl_taxable";
TextCol5.HeaderText = "Taxable";
TextCol5.Width = 75;
ts1.GridColumnStyles.Add(TextCol5);
I will like to have a transformation done on the int
field fl_taxable from the dataset.
I will like to change the int value (enum) to is string
equivalent to be display on the grid with,
Enum.GetName(typeof(Form1.enumTAXABLE), field_value)
So how can I have that transformation function event
done/fired.
Any help will be appreciated.
Carl,