All help warmly welcome!
Thanx in advance, Pieter Christiaan
Description:An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message:BC30311: Value of type 'Integer' cannot be converted to 'System.Data.OleDb.OleDbParameter'.
Source Error:
|
Source File: c:\inetpub\wwwroot\cv\layout.aspx Line: 33
You have an extra ) after "@.1and" that you need to remove.
Try removing the parens that I placed inred below, though I do not see how you got it to compile in the first place with an extra closing parens:
objparam=objCmd1.parameters.add("@.land"), oledbtype.char)
NC...
vanprooyen wrote:
Line 31: objCmd1.commandtype = commandtype.storedprocedureLine 32: dim objparam as oledbparameterLine 33: objparam=objCmd1.parameters.add("@.land"), oledbtype.char)Line 34: objparam.direction=parameterdirection.inputLine 35: objparam.value=strtemp
If it doesn't like that try the following: objparam=objCmd1.parameters.add(new oledbParameter("@.land", oledbtype.char))
not sure since I don't use OleDb
All thanx very much... after too much hours you can't find the simple solutions! :-)
0 comments:
Post a Comment