Hi all,

I am developing an application in which I need to incorporate a checkbox field for each record from the database. But the checkbox is having threestate in which the third one is a null value which I cannot afford in the database. So I need to eliminate the null value.

Kindly help me to find a way to make the checkbox in the datagrid in a two state mode.

It would be much appreciated, if you can send me a solution at the earliest.

Thanks,

Reniies

Open the gridview's smart tag and launch the column editor. Select the checkbox column and set the "ThreeState" property to false. See attached screen shot

Hi Scott,

Thank you for your prompt response.

But I am using Visual Studio 2003 and if I am not wrong, there is no gridview in VS 2003. So can I have any other workaround?

Regards,

Reniies

Open the gridview's smart tag and launch the column editor. Select the checkbox column and set the "ThreeState" property to false. See attached screen shot

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.