For Each m In myq
txtrole.Text = m.Roles
Next
Here I used linq
LunchDataContext cmdatacontext = new LunchDataContext();
Dim mycheck = From cust In cmdatacontext.tblLogins _
Where cust.EmployeeName.ToLower = txtuserlogin.Text.ToLower
If any one can please assist will be nice.

New Topic/Question
Reply


MultiQuote




|