示例#1
0
    private void LoadCashiers()
    {
        string districtcode = GetDistrictCode();

        dtable = datafile.GetCashiers(districtcode);
        cboCashier.DataSource     = dtable;
        cboCashier.DataValueField = "Username";
        cboCashier.DataTextField  = "FullName";
        cboCashier.DataBind();
    }