【发布时间】:2011-03-14 09:00:27
【问题描述】:
我有一个带有 WinForms 项目的 VB.NET VS2010 解决方案,它在同一解决方案中调用网站项目。
我可以进入这个网络方法:
<WebMethod()> Public Function GetStartUpData() As DataSet
和其他网络方法,但不是以下方法。我想知道这是否与这是唯一使用 Nullable 类型参数的 Web 方法有关。
该方法有效,但我无法进入它。如果我尝试,我会收到错误:
无法自动进入服务器。无法确定停靠点
这是一个错误吗?有解决办法吗?
<WebMethod()>
Public Function RetrieveOrdersByFilter( _
ByVal customerId As Nullable(Of Integer), _
ByVal fromDate As Nullable(Of Date), _
ByVal toDate As Nullable(Of Date), _
ByVal fromStatusCodeId As Nullable(Of Integer), _
ByVal toStatusCodeId As Nullable(Of Integer)) As DataSet
【问题讨论】:
标签: asp.net visual-studio-2010