K
K B
Hi, I'm using the Enterprise Data Access Application Block.
I've imported the Data and Data.SQL dlls.
With the following code block, I get an error that "Type
DbCommandWrapper is not defined." I can't find an answer...all examples
I've seen use this.
Dim db As Database = DatabaseFactory.CreateDatabase()
Dim cmd As dbcommandwrapper = db.GetStoredProcCommandWrapper("GetUser")
cmd.AddInParameter("@UserName", DbType.String, sUser)
Dim ds As DataSet = db.ExecuteDataSet(cmd)
Please Help!
Thanks,
Kit
I've imported the Data and Data.SQL dlls.
With the following code block, I get an error that "Type
DbCommandWrapper is not defined." I can't find an answer...all examples
I've seen use this.
Dim db As Database = DatabaseFactory.CreateDatabase()
Dim cmd As dbcommandwrapper = db.GetStoredProcCommandWrapper("GetUser")
cmd.AddInParameter("@UserName", DbType.String, sUser)
Dim ds As DataSet = db.ExecuteDataSet(cmd)
Please Help!
Thanks,
Kit