hi,
in the database i have a value as True, when it is true i need to write a code for the check box to be ticked when the form is loading i ma using VS 2008 standard C# language?
does anyone know the solution for this?????

Put this in the Form_Load event:

bool value = Bool.Parse([B]put that value here[/B]);

if(value)
{
    checkBox1.Checked = true;
}

Thanks

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.