Exemplo n.º 1
0
        public void RepeaterDataBind()
        {
            string strWhere = "where 1 = 1";

            if (this.Month.Value != "")
            {
                strWhere += "and CONVERT(VARCHAR(100), occ_time, 23) like '%" + this.Month.Value + "%'";
            }
            Repeater1.DataSource = oiBll.BusiMonth(strWhere);
            Repeater1.DataBind();
        }