protected void gvList_ItemDataBound(object sender, RepeaterItemEventArgs e) { Repeater repFiles = (Repeater) e.Item.FindControl("repFiles"); HiddenField hidID = (HiddenField) e.Item.FindControl("hidID"); EasyDataProvide ModuleFiles = new EasyDataProvide("ModuleFiles"); ModuleFiles.AddParameter("publishID", hidID.Value); DataTable dt = ModuleFiles.GetData("publishID=@publishID"); repFiles.DataSource = dt; repFiles.DataBind(); Repeater repReply = (Repeater) e.Item.FindControl("repReply"); DataLayer dl=new DataLayer(); DataTable dtReply = dl.GetDiscussesReply(hidID.Value); repReply.DataSource = dtReply; repReply.DataBind(); }