Hey Devy, this is rather a very simple task to achieve using LINQ. Example:
var user = from c in dataContext.Users
where c.UserName == UserTextBox.Text && c.Password == PasswordTextBox.Text
select c;
Note that the same data could be retrieved using either LINQ or a lambda expression. It's up to you to choose which way to go.