예제 #1
0
파일: Home.aspx.cs 프로젝트: ACIFYPJ/ACICMS
        private DataTable loadEventsRPT()
        {
            DataTable dt = BLL.getFeaturedEventsData();

            EventRPT.DataSource = dt;
            EventRPT.DataBind();
            return(dt);
        }
예제 #2
0
        private void bindtabledata()
        {
            //Populating a DataTable from database.
            DataTable dt = DAL.GetData();

            EventRPT.DataSource = dt;
            EventRPT.DataBind();
        }
예제 #3
0
        private void bindtabledata()
        {
            EventsDAL DAL = new EventsDAL();
            //Populating a DataTable from database.
            DataTable dt = DAL.GetApplicantsData();

            EventRPT.DataSource = dt;
            EventRPT.DataBind();
        }
예제 #4
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!this.IsPostBack)
     {
         EventsBLL BLL = new EventsBLL();
         //Populating a DataTable from database.
         string       xmldt = client.GetData();
         StringReader xr    = new StringReader(xmldt);
         DataTable    dt    = new DataTable();
         dt.ReadXml(xr);
         //DataTable dt = BLL.GetData();
         EventRPT.DataSource = dt;
         EventRPT.DataBind();
     }
 }