COMPARING values using linq to sql and visual c# RRS feed

  • Question

  • i have done this,,,and i want to compare values from sql server database   

    UsaAMSDBDataContext usaamms = new UsaAMSDBDataContext();

                var login = from admin in usaamms.Admin_Logins
                            select admin;

    i have two text boxes txtusername and txtpassword,

    and database table consist of two columns Name and Passsword...

    Plzz tell me what will condition i can apply for comparing database value to txtusername and txtpassword,,...

    ---   i am making a Login Page..

    Saturday, March 20, 2010 6:41 PM


All replies