Last post May 10, 2006 08:51 PM by nisarkhan
May 10, 2006 01:32 PM|nisarkhan|LINK
Error 1 The type or namespace name 'DbCommand' could not be found (are you missing a using directive or an assembly reference?)
i have latest DAAB of v2
here is my code:
DbCommand command = northwind.GetSqlStringCommand(
May 10, 2006 03:38 PM|nisarkhan|LINK
ok i was missing using System.Data.Common;
anyway, after i fix my first problem, i have a new problem now...
here is my code but still getting error:
Database db = DatabaseFactory.CreateDatabase(
DbCommand dbCommand = db.GetStoredProcCommand(sqlCommand);
DataSet ds = db.ExecuteDataSet(dbCommand);
Procedure LOOKUP has no parameters and arguments were supplied. ?
May 10, 2006 08:51 PM|nisarkhan|LINK
i fixed myself i was having wrong storproc