示例#1
0
        protected void feedFollowing()
        {
            int userId = Convert.ToInt32(Session["UserId"]);

            Classes.Feed f  = new Classes.Feed();
            DataTable    dt = f.eventsFollowing(userId);

            if (dt.Rows.Count > 0)
            {
                RepeaterCity.DataSource = dt;
                RepeaterCity.DataBind();
            }
            else
            {
                //LabelNoRecord.Visible = true;
            }
        }
示例#2
0
        protected void feedCity()
        {
            int userId = Convert.ToInt32(Session["UserId"]);
            Classes.UserInfo ui = new Classes.UserInfo();
            int locationId = ui.locationIdByUserId(userId);

            Classes.Feed f = new Classes.Feed();
            DataTable dt = f.eventsCity(locationId);

            if (dt.Rows.Count > 0)
            {
                RepeaterCity.DataSource = dt;
                RepeaterCity.DataBind();
            }
            else
            {
                //LabelNoRecord.Visible = true;
            }
        }
示例#3
0
        protected void feedCity()
        {
            int userId = Convert.ToInt32(Session["UserId"]);

            Classes.UserInfo ui = new Classes.UserInfo();
            int locationId      = ui.locationIdByUserId(userId);

            Classes.Feed f  = new Classes.Feed();
            DataTable    dt = f.eventsCity(locationId);

            if (dt.Rows.Count > 0)
            {
                RepeaterCity.DataSource = dt;
                RepeaterCity.DataBind();
            }
            else
            {
                //LabelNoRecord.Visible = true;
            }
        }
示例#4
0
        protected void feedFollowing()
        {
            int userId = Convert.ToInt32(Session["UserId"]);

            Classes.Feed f = new Classes.Feed();
            DataTable dt = f.eventsFollowing(userId);

            if (dt.Rows.Count > 0)
            {
                RepeaterCity.DataSource = dt;
                RepeaterCity.DataBind();
            }
            else
            {
                //LabelNoRecord.Visible = true;
            }
        }