Like this?
Thing is, when I check the value using a msgbox, it doesn't return any value. I tried this:Code:PatronNumber = cmbPatronType.SelectedValue
But, it returned the following error: Object reference not set to an instance of an object.Code:PatronNumber = cmbPatronType.SelectedValue.ToString




Reply With Quote