Posted on: 11/9/2014 11:22:40 AM | Views : 366

Hi i am doing a three tier application to caculate bmi
the question is this
<div class="WordSection1"> Create a method, CalcBMI(),  in the newly created class ToolsBLL.cs,  to consume the web service. This method takes in two argument (in string), Weight and Height, and return a string containing either the calculated BMI or an error message.
Perform the following Data Validation in the CalcBMI() method:
Both Weight and Height cannot be blank.
Both Weight and Height must be in number Format.
Both Weight and Height must be > 0.
If data validation is successful (i.e. no error in Weight and Height), Consume the web service that calculates BMI.
         Return the BMI (in String)
</div> Else Return an error message.
//////////////////////////////////////////////////////////////i want to consume the web servic ...

Go to the complete details ...