public override void DataBind() { using (ReportDal DataAccess = new ReportDal()) { String YearMonth = txtYearMonth.Text; String SpecialField = Request.Params["SpecialField"]; //if (!string.IsNullOrEmpty(YearMonth)&&(YearMonth.Length>6)) YearMonth = YearMonth.Substring(0, 4) + YearMonth.Substring(5, 2); ShiftBonusRepeater.DataSource = DataAccess.GetShiftScoreAndBonus(YearMonth, SpecialField); } base.DataBind(); ColSpan(); }