Hi,
I have the following code which works fine, however, I want to represent the message as;
* All fields in this section are mandatory
Please enter Project Description
Please can someone update the code for me.. Thanks
Code:Dim valid As Boolean = True Dim Message As String = String.Empty If txtProdesc.Text = "" Then MessageBox.Show("All fields in this section are mandatory, Please enter Project Description", "VeriSIS", MessageBoxButtons.OK) txtProdesc.Focus() Return End If If cmbProjtype.Text = "" Then MessageBox.Show("All fields in this section are mandatory, Please enter Project Type", "VeriSIS", MessageBoxButtons.OK) cmbProjtype.Focus() Return End If




Reply With Quote