Ronny David

Ronny David

  • NA
  • 3
  • 0

Data Mapping in a Datagrid

Aug 26 2005 4:03 AM
Hello, i'm using the wizards from vs.net 2003 to build a simple form with database connection and an datagrid. I have already the datagrid and the database connection, and this works fine :) My problem is, that in my database, i have a column maybe day as an integer value. Now the datagrid shows not "Mondays, Tuesday, Wednesday or whatever, but integer values 1,2,3 and so on. My question about that is has the datagrid or an other windows form component a function so that i can map the data from the database from int to an string so that the datagrid dont shows the integer values. Example: In my database at the day column the integer value is 4, then in the datagrad should display Thursday and not 4. And when in the day column the value is 2, then the datagrid should display tuesday. Do you know what i mean? Can anyone help me? greetz and thanks for help, S!3b3n!002 ten.SV eht mor

Answers (1)