Check this code,
1089: bool myValue=false;
1090: if(Boolean.TryParse(drow["IsTrue"].ToString(), out myValue))
1010: this.genderCheckBox.Checked = true;
1011: else
1012: this.genderCheckBox.Checked = false;
bool myValue=false;
Boolean.TryParse(drow["IsTrue"].ToString(), out myValue);
this.genderCheckBox.Checked = myValue;