コード例 #1
0
        private void PopulatePaymentModeType(object selectedPaymentModeType = null)
        {
            EMSManager ems           = new EMSManager();
            var        query         = ems.PaymentModeTypeList();
            SelectList PaymentModeId = new SelectList(query, "PaymentModeId", "PaymentMode", selectedPaymentModeType);

            ViewBag.PaymentModeId = PaymentModeId;
        }