title: vb.net Web Server linq to sql returns
body: <p>My last question was not clear. Im trying to make a web service in VB.net is their a way that i can return the results that i get from LINQ.  ie "return objreturnLINQResults"
   I have tryed to set my Public Function GetAlarmsByGUIS(ByVal DeptGUID As String, ByVal IdNumber As String) As Linq.DataContext . i just keep getting errors. help please.</p>
  
  <pre><code>Public Function GetAlarmsByGUIS(ByVal DeptGUID As String, ByVal IdNumber As String) As Linq.DataContext
      Dim lqAlarms As New linqAlarmDumpDataContext
      Dim Temp As String = ""
      Dim n As Integer = 0
      Dim GetAlrms = From r In lqAlarms.AlarmDrops _
                     Where r.DeptGUID = DeptGUID And Not r.AlarmsHandled.Contains(IdNumber) _
                     Order By r.TimeDate Descending _
                     Select r
  
  
      Return GetAlrms
  End Function
  </code></pre>