Пример #1
0
    private void LoadData()
    {
        string sFrom = Request.QueryString["datefrom"].ToString();
        string sTo   = Request.QueryString["dateto"].ToString();

        lblDateFrom.Text = sFrom;
        lblDateTo.Text   = sTo;



        InvoiceDetails obj = new InvoiceDetails();
        DataTable      dtb = new DataTable();

        dtb = obj.ReportbyDate_2(sFrom, sTo);

        rptProduct.DataSource = dtb;
        rptProduct.DataBind();
    }