DataGrid: Text instead of Number

  • Thread starter Thread starter Frank Neumai
  • Start date Start date
F

Frank Neumai

Hello!

I have a form with a DataGrid, which is bound to a DataView, which
comes from a Database. No other fancy settings...

myDataGrid.DataSource = myDataView

My DB-Table has a Column "salutation" with the possible values 0 (which
means for me "Mr.") and 1 (which means for me "Ms.").

Now the DataGrid shows these Number-Values. How can I replace this
Number with the Text-Value?

btw... editing is not necessary; datagrid is readonly.

Bye,
Frank Neumai

PS: Sorry for this simple question, I'm a beginner. And sorry for bad
Englisch, I'm from Germany. (where the weather is great atm. ;>
 
Back
Top