Hi friends, I am trying to solve the Condition(if) in Vb.net using Linq(ado.net entity framework). Can i know some examples . That is how to get the data from Sql. For example is should get the Customer Starting with "A" should display in my datagridview.
for example
I have seen one example like this if condition. That condition it is calling from sql database
if searchcriteria.Contactname then
Contactlist = ContactList.Where(Function(a) a.v.ToUpper.StartsWith("s")
endif
So can i know how is it done. Can anyone explain me about this. As i was beginner to learn this things. Also Required some tasks to me to learn. Please Help me friends.Can u explain what is use of Function(a). and a.v.ToUpper
for example
I have seen one example like this if condition. That condition it is calling from sql database
if searchcriteria.Contactname then
Contactlist = ContactList.Where(Function(a) a.v.ToUpper.StartsWith("s")
endif
So can i know how is it done. Can anyone explain me about this. As i was beginner to learn this things. Also Required some tasks to me to learn. Please Help me friends.Can u explain what is use of Function(a). and a.v.ToUpper