Public DataPreview As String <pre lang="vb">Private Sub cmdPreview_Click() DataPreview = "Name: " & salutation(sal) & ". " & txtFirstName.Text & " " & txtSecName.Text & vbCrLf & "Age: " & txtAge.Text frmPreview.Show End Sub</pre>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)