コード例 #1
0
    public void FillMonthSale()
    {
        Object SaleMonth = new Object();

        SaleMonth.Year  = DdlYear1.SelectedValue;
        SaleMonth.Month = DdlMonth.SelectedValue;
        DataTable dt = BSLAYER.MonthSale(SaleMonth);

        GridView2.DataSource = dt;
        GridView2.DataBind();
        DdlYear1.ClearSelection();
        DdlMonth.ClearSelection();
    }