The
following are the three basic steps to execute a LINQ query:
Obtain the data source (The data source can be either an SQL database or an XML file)
Create a query
Execute the query
Obtain the data source (The data source can be either an SQL database or an XML file)
Create a query
Execute the query