Change column type DataGrid
Hello, I'm a Costa Rican student of systems eng. C#
I have a DataGrid bounded to a DataTable, and I want to change the DataGrid column type from int to String but I can't do it like this:
dt.Columns[7].DataType = typeof(System.String);
because the DataTable is filled already. Is there anyway that I can do that?
The thing is that I want to change the int value "0" (or "1" or "2") fom the database's table to a String in the DataGrid. Because those numbers have a meaning, and I need to translate those numbers into text.
0 means "frecuent" cust
1 means "credit" cust
2 means "black list" cust
I need to put those strings into the DataGrid. Thanks.
Thanks.

