Hello Everybody:
I am developing a WebService...I have developed a WebMethod as follows:

[WebMethod (Description= "ClientInformation")]

public string ClientInformation(string ClientInfo)
{

return ClientInfo;

}

I am defining a string variable as WebServiceLoginValid=="1"


ClientLogIn.Service1 client = new ClientLogIn.Service1();
client.Timeout=30000;

WebServiceLoginValid = client.ClientInformation(ClientInfo);
if (WebServiceLoginValid=="1")
{

MessageBox.Show("LogIn Successful");
txtWebService.Text= "LogInSuccessful";


}

else
lblLogin.Text="Login Failed,Please Try again.";

Now my problem is that I am going into the else loop directly and getting the message Login Failed,Pls try again.
My if statement is not returning true and not displaying the MessageBox.Show("Login Successful").

Pls guide where I am going wrong..

Thanks,

Rahil