I am running a sql stored procedure and returning the results to a grid. I want to convert an int column to bit so that it will display in my grid as check boxes as opposed to a 1 or 0 value.

I have seen examples of convert to a bit array, but can't find a way to convert to bit, and my intellisense does not provide an option of Convert.ToBit

EDIT --- (thanks @Ekad) Looks like it would actually be Convert.ToBoolean --- now how would I create the field to be a checkbox, and how do I assign a checked/unchecked value?

Related posts

Recent Viewed