// protected void lstArticle_ItemDataBound(object sender, DataListItemEventArgs e) // { // if (e.Item.ItemType == ListItemType.Item || e.Item.ItemType == ListItemType.AlternatingItem) // { // DataRowView drv = e.Item.DataItem as DataRowView; // string downName = drv["downName"].ToString(); // if (downName == null || downName == String.Empty) // ((Panel)(e.Item.FindControl("Panel1"))).Visible = false; // } // } // foreach (RepeaterItem item in this.rpFriendList.Items) // { // CheckBox check = (CheckBox)item.FindControl("chkSelect"); // if (check.Checked == true) // { // Label lblTitle = (Label)item.FindControl("lblFriendID"); // strFriendID = strFriendID + lblTitle.Text + ","; // } // }