Exemplo n.º 1
0
        public static RepositoryItemLookUpEdit RepositoryItemDptIdAndName(RepositoryItemLookUpEdit repLookUp)
        {
            ServiceCommon serviceCommon = new ServiceCommon();
            DataTable     dt            = serviceCommon.ListDPT().Trim();

            repLookUp.SetColumnLookUp(dt, "DPT_ID", "DPT_ID_NAME", TextEditStyles.DisableTextEditor, "");

            return(repLookUp);
        }
Exemplo n.º 2
0
        public static LookUpEdit LookUpItemDptIdAndName(LookUpEdit repLookUp)
        {
            ServiceCommon serviceCommon = new ServiceCommon();
            DataTable     dt            = serviceCommon.ListDPT().Trim();

            repLookUp.SetDataTable(dt, "DPT_ID", "DPT_ID_NAME", TextEditStyles.DisableTextEditor, "");
            repLookUp.EditValue = "";

            return(repLookUp);
        }