【发布时间】:2009-02-27 14:16:26
【问题描述】:
当我编写如下代码时,我收到以下错误消息:“不支持查询运算符 'ElementAtOrDefault'。”
我该如何解决?
Dim tmpQuestion As New UIData
Dim strViews = From t In tmpQuestion.LU_QUESTIONs _
Where t.ID_QUESTION = Request.QueryString("IdQuestion") _
Select t
Dim mtViews = strViews(0).MT_VIEWS
【问题讨论】:
标签: asp.net linq-to-sql