i am used like this but it shows some error...........
LoginValidationDataContext check = new LoginValidationDataContext();
var result = from p in check.sp_LoginValidation ()
where p.UserName == LoginUser.UserName && p.Password = LoginUser.Password
select p.FirstOrDefault();
if (result != false)
{
Response.Redirect("UserRegistration.aspx");
}
else
{
Responce.write("
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsForums
Top experts
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister