189 8069 5689

读取datalist中的数据

//前台: 
 
                                                     
                                                       
                                                    ’> 
                                                   
 
                                               
 
//后台: 
for (int i = 0; i <= daliXi.Items.Count-1; i++) 
                    {. 
                        CheckBox cb=(CheckBox)daliXi.Items[i].FindControl("cbXi");(cb指向”cbXi”的内存地址,修改cb的属性,即修改cbXi) 
                         if (cb.Checked) 
                         { 
                             Label lb = (Label)daliXi.Items[i].FindControl("lbXi"); 
                             Response.Write("