A
Alex. O. Koranteng
I am getting error shown below when the page loads. I have referenced the
Microsoft Enterprise library but I am not sure which version I am pointing
to. I have both Version 2.0 and 3.1 loaded on my machine. Any suggestions
will help and will email zipped sample file if required.
Compilation Error
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: CS0117:
'Microsoft.Practices.EnterpriseLibrary.Data.Database' does not contain a
definition for 'GetSprocCommand'
Source Error:
Line 45:
Line 46:
Line 47: dbCommand =
Northwind.GetSprocCommand("sp_UpdateCustomerEntLib");
Line 48: Northwind.ExecuteNonQuery(dbCommand);
Line 49: }
Source File: c:\Netforums\Codeproject\GridviewObjectDataSrc_src -
Sprocs\App_Code\BizLayer.cs Line: 47
Microsoft Enterprise library but I am not sure which version I am pointing
to. I have both Version 2.0 and 3.1 loaded on my machine. Any suggestions
will help and will email zipped sample file if required.
Compilation Error
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: CS0117:
'Microsoft.Practices.EnterpriseLibrary.Data.Database' does not contain a
definition for 'GetSprocCommand'
Source Error:
Line 45:
Line 46:
Line 47: dbCommand =
Northwind.GetSprocCommand("sp_UpdateCustomerEntLib");
Line 48: Northwind.ExecuteNonQuery(dbCommand);
Line 49: }
Source File: c:\Netforums\Codeproject\GridviewObjectDataSrc_src -
Sprocs\App_Code\BizLayer.cs Line: 47