Esempio n. 1
0
        private void BindCatalog()
        {
            var dtItemDetail = itemDetailService.GetDTByCode(base.UserInfo, "OrganizeCategory");
            var dataRow      = dtItemDetail.NewRow();

            dtItemDetail.Rows.InsertAt(dataRow, 0);
            cboCategory.DisplayMember = "ItemName";
            cboCategory.ValueMember   = "ItemValue";
            cboCategory.DataSource    = dtItemDetail.DefaultView;
        }
Esempio n. 2
0
        private void BindGender()
        {
            DataTable dtItemDetail = itemDetailService.GetDTByCode(base.UserInfo, "Gender");
            DataRow   dataRow      = dtItemDetail.NewRow();

            dtItemDetail.Rows.InsertAt(dataRow, 0);
            cboGender.DisplayMember = "ItemName";
            cboGender.ValueMember   = "ItemValue";
            cboGender.DataSource    = dtItemDetail.DefaultView;
        }
Esempio n. 3
0
        private void BindCategory()
        {
            var dtItemDetail = itemDetailService.GetDTByCode(base.UserInfo, "RoleCategory");
            var dataRow      = dtItemDetail.NewRow();

            dtItemDetail.Rows.InsertAt(dataRow, 0);
            cboCategory.DisplayMember = CiItemDetailsTable.FieldItemName;
            cboCategory.ValueMember   = CiItemDetailsTable.FieldItemValue;
            cboCategory.DataSource    = dtItemDetail.DefaultView;
        }