Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
BigRetina
Posting Yak Master
144 Posts |
Posted - 2002-10-03 : 10:16:53
|
Salute.. I have VB.NET..SQL Server 7.0 SP3I have a column in my table that will contain either 1 or zero. I want to view that column in a datagrid bool column and make that column editable by making its column style Read Only property = false. .Ofcourse I changed the False Value and True Values of the column style to 0 and 1,respectively. When I make the data type of that column in the DB char(1) everything works fine. The zero value is a blank check box and the one is a checked box. BUT... when I make the data type of the column in the DB either INT or BIT the check box gets dimmed and it does not accept editing( that is if i try to uncheck a box it retains its value when i leave to another row)....in addition to that i had REALLLY WEIRD exceptions !!!.. what is the story of that DataGridBoolColumn???..How should I deal with it??.. p.s. Please dont tell me go to MSDN..it has nothing!!.. Thanks In Advance |
|
robvolk
Most Valuable Yak
15732 Posts |
|
|
|
|