Using Linq to aggregate from array to single var
<p>I have an accordion that binds data for each item from an array.
I want that for every time that I bound the data I will loop through all of the array and aggregate all of the items with the same id and create a long string with a name from a cell. In the code the name <code>oneJob.order_id</code> does not exist and I don't know why.</p>

<pre><code>protected string GetAllProffesions(int orderID)
{
    IEnumerable&lt;string&gt; allProf;
    orderID = 544;
    Job[] curItems = null;
    curItems = JobManager.GetJobs(RangeID, GetParam());
    allProf = from oneJob in curItems
              where oneJob.order_id == orderID
              select oneJob.profession_name;

    return Convert.ToString(allProf);
}
</code></pre>
