yoyosh
February 5th, 2008, 08:28 AM
I have a simple GridView bounded via ObjectDataSource to some (..)DataTable object from my DataSet. I have enabled updating in this grid. The problem is that in some columns the are only several possible valid values (for example column 'Priority' may only have: Low, Medium, High).
However, GridView allowes (by default) inserting any value into that column. How to solve this? The best way would be to insert a DropDown into that column with predefined values. But how to do that?
Thank you very much for any help!
However, GridView allowes (by default) inserting any value into that column. How to solve this? The best way would be to insert a DropDown into that column with predefined values. But how to do that?
Thank you very much for any help!