ASP.NET C# external classes
Posted on 2007-04-11
I am trying to make my own login with asp.net as i do not have MS SQL
i have made it, and am wanting to use external classes. i am however finding it difficult to return values back to the original page..
this is the external class for instance.
public class Login
public static string CartInfo(string username, string password)
//here i wanto recieve the username and password then send out a bool to say if it is true or false
and this is my web page code.
public void hello(string tom, string iscorrect)
// here i wanto send the username and password information from the session
// to the external class by code below...
//then recieve the bool and make a decision based on that.
i am familair with classes just not the returning of values.