private void xrSubreport1_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e) { ((XRSubreport)sender).ReportSource.FilterString = string.Format(" [ID]=115 and [TARIH] Between(#{0}#, #{1}#) ", "2015-10-01", "2015-10-31"); }
public string t1; public string t2; ((XRSubreport)sender).ReportSource.FilterString = string.Format(" [ID]=115 and [TARIH] Between(#{0}#, #{1}#) ", "'" + Convert.ToDateTime(t1).ToString("yyyy-MM-dd") + "'", "'" + Convert.ToDateTime(t2).ToString("yyyy-MM-dd") + "'");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)