mathieu_cupryk
asked on
GetStoredProcCommand not declared
cmd =GetStoredProcCommand("PAR AM_TWD.dbo .usp_GetDi visions")
C:\SourceControl_mcupryk\I nHouseDev\ APPS\MKT00 03 - CustomerList\src\CustomerL ist\App_Co de\BOL\Div ision.vb(2 60,0): error BC30456: 'GetStoredProcCommand' is not a member of 'CustomerList.DAL.DBAccess '.
Error 8 Name 'GetStoredProcCommand' is not declared. C:\SourceControl_mcupryk\I nHouseDev\ APPS\MKT00 03 - CustomerList\src\CustomerL ist\App_Co de\BOL\Div ision.vb 260 23 http://localhost/CustomerList/
C:\SourceControl_mcupryk\I
Error 8 Name 'GetStoredProcCommand' is not declared. C:\SourceControl_mcupryk\I
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Glad I could help.
as you did not post which programming language you worked with, I wrongly assumed C# and not vb.net, although I should have seen that from the error message :-(
as you did not post which programming language you worked with, I wrongly assumed C# and not vb.net, although I should have seen that from the error message :-(
ASKER
Error 7 Expression is not a method. C:\SourceControl_mcupryk\I
Error 9 Name 'db' is not declared. C:\SourceControl_mcupryk\I
Dim Database As DAL.DBAccess = New DAL.DBAccess
'We get the divisions
Database(db = DatabaseFactory.CreateData
cmd = db.GetStoredProcCommand("P
'Temporarilly put the results in a dataset so we can check for valid data
tmpds = db.ExecuteDataSet(cmd)