((CheckBoxX)this.panelEx1.Controls.Find(aa.Rows[i][0].ToString(), true)[0]).Checked = true;
for (int i = 0; i < this.panelEx1.Controls.Count; i++)
{
if (this.panelEx1.Controls[i] is CheckBoxX)
{
if(((CheckBoxX)this.panelEx1.Controls[i]).Checked == true)
{
list.Add(string.Concat(new object[]
{
"INSERT INTO Rx_liese(useid,id,name,biaozi) VALUES('",
LoginClass.cUser_Id,
"','",
((CheckBoxX)this.panelEx1.Controls[i]).TabIndex.ToString(),
"','",
((CheckBoxX)this.panelEx1.Controls[i]).Name,
"','",
lieshe,
"')"
}));
}
}
}