Groups | Blog | Home
all groups > dotnet faqs > january 2006 >

dotnet faqs : how to selecet check box in the data grid ?? only one check box


mit
1/25/2006 12:00:00 AM

Ramu Pulipati
1/25/2006 1:47:17 PM
CheckBox chk;
for (iItem = 0; iItem < dg.Items.Count; iItem++)
{
chk = dg.Items[iItem].FindControl("MyCheckBoxID") as CheckBox;
if (chk != null)
{
chk.Checked = true;
}
}

HTH,
RP

[quoted text, click to view]

AddThis Social Bookmark Button