Hai Guys
I have one doubt in c#.net +asp.net webservices , I have three text boxes like this
Textbox1 EmpId only Int like 123
TextBox2 Empname only String likes sandeep, Miriyala,
TextBox3 EmpSalary only double like 6543.50 paise follows
I have one doubt while submiting buttion
Webservices will collected
My webservices is as follows
EmpId->TextBox1.value
EmpName->TextBox2.value
EmpSal->TextBox3.value
what are the user will entered the textbox I am sending to webservices method My webservices method is as follows..
I know that By default value in asp textboxes enter by user is String format only is it requied to convert again and again in my webservices ....
protected string AddDetails(int EmpId, String Empname, Double Empsal)
{
String FinalResult;
FinalResult=Convert.ToInt32(EmpId)+Empname+Convert.Todouble(Empsal);
return FinalResult;
}
Is it required to convert the textboxes values to String if it is required How to convert Double datatype to String datatype Gave me some basic example I am facing some problem converting the double to string , Please help me.
Thanks& Regrads
Sandeep Miriyala