If you double click on the error in the Visual Studio error list, it will bring you to the exact line that is causing the error. Which of those lines is causing the error? Also, please format your code better. You can do that by selecting your code then clicking the "code block" button when you edit your question. Should look something like this:
If po_Country.cn_name = "" Then
o_General.lp_AddPipe(ls_ErrMsg)
ls_ErrMsg = ls_ErrMsg + "Country Name can not be empty."
ElseIf po_Country.cn_name.Contains("0-9") Then
o_General.lp_AddPipe(ls_ErrMsg)
ls_ErrMsg = ls_ErrMsg + "Country name can not contain numeric values."
End If
I made it look like that by typing this:
<pre lang="vb">If po_Country.cn_name = "" Then
o_General.lp_AddPipe(ls_ErrMsg)
ls_ErrMsg = ls_ErrMsg + "Country Name can not be empty."
ElseIf po_Country.cn_name.Contains("0-9") Then
o_General.lp_AddPipe(ls_ErrMsg)
ls_ErrMsg = ls_ErrMsg + "Country name can not contain numeric values."
End If</pre>
I could have done that for you, but I would rather teach you how to do it than do it for you.