Desi Gal

Desi Gal

  • NA
  • 35
  • 0

dataGrid/datatype display

Oct 29 2009 4:05 PM
In my datagrid  i have a column called IsPlant which is a bit field(in my sqlserver database)......i am basically storing true or false.........in my datagrid i want it to display Plant if the value is true and Animal if the value is false.also i want to have a dropdown with values Plant and Animal for the IsPlant field....so if a user  selects Plant.....true should be stored in the database........Is this possible.......what will be the drop down control........

Answers (1)