title: Storing data retrieved from web service reference as array/arraylist
body: <p>I am now doing a silverlight application, language is C# and I have successfully retrieved the data from web service reference and is able to display it on the mainpage.xaml in grid view. However is there any way for me to store my data as array/arraylist so that instead of displaying all the column data in the grid view, I only want it to display only one column of data. Any experts that can help me out on this? Below is my current basic code</p>
  
  <pre><code>  [OperationContract]
    public List&lt;location&gt; Getlocations()
    {
       DataClassesDBDataContext db = new DataClassesDBDataContext();
  
       var mlocations = from location in db.locations
                        select location;
       return mlocations.ToList();
    }
  </code></pre>