mardi 15 avril 2014

How to give Null value condition in asp.net


Vote count:

0




I want this condition should not work when (Me.txt_rest_value_assessment.Tex) = NULL. Because in that case, it is giving an error " Conversion from double to string error"


If (Me.txt_rest_value_assessment.Tex) = NULL , then it should bypass this condition


If CDbl(Me.txt_rest_value_assessment.Text) > (CDbl(Me.txt_business_revenue_risk.Text) + CDbl(Me.txt_project_upside_value.Text)) Then



Me.pnl_edit.Visible = True
Me.lbl_conf_message.Text = "Rest Value Assessment value cannot be greater than Sum of Project Outlook Value and Project Upside Value."

End If


asked 1 min ago






Aucun commentaire:

Enregistrer un commentaire