title: Get the column Value using Linq from dataset in c#
body: <p>In the Linq after retrieving from the dataset how can i get the column data without using the for each statement?</p>
  
  <pre><code> var query = from alias in ds.Tables[0].AsEnumerable()
                          where alias.Field&lt;string&gt;("lanename") == ddlLaneController.SelectedItem.Text
                          select new
                          {
                              locname = alias["LocationName"],
                              locid = alias["locationid"]
                          };
  </code></pre>
  
  <p>txtStartLocation.Text = query.Select(a => a["LocationName"]).ToString();</p>
  
  <p>Can i know how can i achieve this?</p>
  
  <p>Thanks,
  Vara Prasad</p>