Web Services
-
HI, I m creating a login page in asp.net..i need to use web service method and write stored procedure to check if user name and pwd are correct..if its right then need to direct the user to another page else display an error...since response.redirect wont work in web service can u suggest how to go about it???
-
HI, I m creating a login page in asp.net..i need to use web service method and write stored procedure to check if user name and pwd are correct..if its right then need to direct the user to another page else display an error...since response.redirect wont work in web service can u suggest how to go about it???
Get The Status from web service like true or false and redirect from ur code..! But Why would you use webservice to check if user name and pwd are correct.You can use normal method..!
LatestArticle :Log4Net Why Do Some People Forget To Mark as Answer .If It Helps.
-
Get The Status from web service like true or false and redirect from ur code..! But Why would you use webservice to check if user name and pwd are correct.You can use normal method..!
LatestArticle :Log4Net Why Do Some People Forget To Mark as Answer .If It Helps.
How do we get the status???? Ya i know...but i m asked to use the webservice method for everything.
-
How do we get the status???? Ya i know...but i m asked to use the webservice method for everything.
Check this Code..!
[WebMethod]
public bool Name()
{
If (Condition)
{
return true;
}
else return false;
}In your Code..!
//In Your .asp.cs page localhost.Service1 svc = new Service1(); bool ssd= svc.Name(); if(ssd) Response.Redirect("YourPage.aspx)
First Try To learn abt the webservices usuage in asp.net Calling Web Service using ASP.NET[^]
LatestArticle :Log4Net Why Do Some People Forget To Mark as Answer .If It Helps.
-
How do we get the status???? Ya i know...but i m asked to use the webservice method for everything.
Check for web service status (i.e.,What is it return type), according to it process your code.
-
HI, I m creating a login page in asp.net..i need to use web service method and write stored procedure to check if user name and pwd are correct..if its right then need to direct the user to another page else display an error...since response.redirect wont work in web service can u suggest how to go about it???