I'm trying to get the text from the selected value in the combo box by using:
lblMessage.Text = cmbArchivoModificado.SelectedItem.Text;
I've already set the valuefield and textfield on the combobox settings, but visual studio keep telling me this:
nullreferenceException was unhandled by user code.
Object reference not set to an instance of an object.