private void LoadPayTypes() { dtable = datafile.GetPayTypes(); cboPaymentType.DataSource = dtable; cboPaymentType.DataValueField = "PaymentCode"; cboPaymentType.DataTextField = "PaymentType"; cboPaymentType.DataBind(); }