I got two variables and I want to compare the values of those two variables and if variable 2 is not equal to variable 1 then i want a message box saying you cannot continue.
dim variable1 as double
dim variable2 as double.
The value of these two variable changes whenever a user puts values on the form. But when the user presses a button it has to compare the values and if they are not same then a message box should pop up.
if variable2 = variable1
i am using asp.net with vb.net code.