Esempio n. 1
0
    protected void ASPxGridView1_Init(object sender, EventArgs e)
    {
        ASPxGridView grd = sender as ASPxGridView;

        if (grd != null)
        {
            grd.ForceDataRowType(typeof(C2.XXBank));
        }
    }
Esempio n. 2
0
    protected void grid_Transport_Init(object sender, EventArgs e)
    {
        ASPxGridView grid = sender as ASPxGridView;

        if (grid != null)
        {
            grid.ForceDataRowType(typeof(C2.CtmMastData));
        }
    }
    protected void grid_Init(object sender, EventArgs e)
    {
        ASPxGridView grd = sender as ASPxGridView;

        if (grd != null)
        {
            grd.ForceDataRowType(typeof(C2.Dimension));
        }
    }
Esempio n. 4
0
    protected void grid_PayrollDet_Init(object sender, EventArgs e)
    {
        ASPxGridView grd = sender as ASPxGridView;

        if (grd != null)
        {
            grd.ForceDataRowType(typeof(C2.HrPayrollDet));
        }
    }
Esempio n. 5
0
    //
    #region import ref
    protected void grid_ref_Init(object sender, EventArgs e)
    {
        ASPxGridView grd = sender as ASPxGridView;

        if (grd != null)
        {
            grd.ForceDataRowType(typeof(C2.SeaImportRef));
        }
    }
    protected void grid_CerDet_Init(object sender, EventArgs e)
    {
        ASPxGridView grd = sender as ASPxGridView;

        if (grd != null)
        {
            grd.ForceDataRowType(typeof(C2.SeaCertificateDet));
        }
    }
Esempio n. 7
0
    protected void gv_tpt_trip_Init(object sender, EventArgs e)
    {
        ASPxGridView grd = sender as ASPxGridView;

        if (grd != null)
        {
            grd.ForceDataRowType(typeof(C2.CtmJobDet2));
        }
    }
Esempio n. 8
0
    protected void grd_Photo_Init(object sender, EventArgs e)
    {
        ASPxGridView grd = sender as ASPxGridView;

        if (grd != null)
        {
            grd.ForceDataRowType(typeof(C2.SeaAttachment));
        }
    }
Esempio n. 9
0
    protected void grid_contact_Init(object sender, EventArgs e)
    {
        ASPxGridView grid = sender as ASPxGridView;

        if (grid != null)
        {
            grid.ForceDataRowType(typeof(C2.RefContact));
        }
    }
Esempio n. 10
0
    protected void grid_Log_Init(object sender, EventArgs e)
    {
        ASPxGridView grd = sender as ASPxGridView;

        if (grd != null)
        {
            grd.ForceDataRowType(typeof(C2.RefPartyLog));
        }
    }
Esempio n. 11
0
    protected void grid_Account_Init(object sender, EventArgs e)
    {
        ASPxGridView grd = sender as ASPxGridView;

        if (grd != null)
        {
            grd.ForceDataRowType(typeof(C2.XXPartyAcc));
        }
    }
    protected void grid_wh_Init(object sender, EventArgs e)
    {
        ASPxGridView grid = sender as ASPxGridView;

        if (grid != null)
        {
            grid.ForceDataRowType(typeof(C2.JobHouse));
        }
    }
Esempio n. 13
0
    protected void grid_PutAway_Init(object sender, EventArgs e)
    {
        ASPxGridView grid = sender as ASPxGridView;

        if (grid != null)
        {
            grid.ForceDataRowType(typeof(C2.WhPutAway));
        }
    }
Esempio n. 14
0
    protected void grid11_Init(object sender, EventArgs e)
    {
        ASPxGridView g = sender as ASPxGridView;

        if (g != null)
        {
            g.ForceDataRowType(typeof(C2.JobCost));
        }
        // ASPxGridCommandColumn g.Columns[0]
    }
Esempio n. 15
0
    protected void Grid_Packing_Init(object sender, EventArgs e)
    {
        ASPxGridView grd = sender as ASPxGridView;

        if (grd != null)
        {
            grd.ForceDataRowType(typeof(C2.JobItemList));
            if (!IsPostBack)
            {
                ApplyLayout(0, grd);
            }
        }
    }
Esempio n. 16
0
    protected void ASPxGridView1_Init(object sender, EventArgs e)
    {
        ASPxGridView grd = sender as ASPxGridView;

        if (grd != null)
        {
            grd.ForceDataRowType(typeof(C2.JobCount));
        }
        string _d = Request.QueryString["d"] ?? DateTime.Today.ToString("dd/MM/yyyy");

        txt_end.Date = DateTime.Parse(_d.Substring(6, 4) + "-" + _d.Substring(3, 2) + "-" + _d.Substring(0, 2));
        dsJobCount.FilterExpression = " DateFrom >= '" + txt_end.Date.ToString("yyyy-MM-dd") + "'";
    }