The only thing I can see that may be causing a problem in this code is that you need a space between your stored proc name and your variable myADOAdapter.Command = "execute dbo.sp_Overtime_Return " + MySysID
hope this helps Cheers Ben
"SDecou" wrote:
[Quoted Text] > I am receiving an error when I run the following code in Visual studio.NET > > Dim MySysID As Integer > Dim myADOAdapter As ADOAdapterObject = thisXDocument.DataAdapters.Item(5) > > MySysID = > thisXDocument.DOM.selectSingleNode("/dfs:myFields/dfs:queryFields/q:OvertimeLog/[ at ]SysID").text > > myADOAdapter.Command = "execute dbo.sp_Overtime_Return" + MySysID > myADOAdapter.Query() >
|