Can someone please help me with the following error message I encounter. I can’t go ahead with the error. It seems to be a compiler error:
Compiler Error Message: BC30456: 'Data' is not a member of 'String'.
Source Error:
Line 168: dbParam_system.ParameterName = "@System"
Line 169: dbParam_system.Value = system
Line 170: dbParam_system.DbType = System.Data.DbType.String
Line 171: dbCommand.Parameters.Add(dbParam_system)
Line 172:
Although I have Googled it the efforts were in vein. Thanks for reading this and your help is greatly appreciated.
.ASP Compiler error (Message: BC30456)
Â
Yes that seems to be a compiler error and that a runtime error that occurs during the execution for the program. Once the String is mismatched for the data present, the system is giving the error. The erroneous entries are updated to the up limit that none of the procedures perform the task to the optimum. In fact the Compiler supported language is defined to itself. But here is a contradiction that says that the Browsers may not support some specifications. As such use a standard version of browser that is latest and updated. The matter is related to the Compatibility of browsers working environment.
.ASP Compiler error (Message: BC30456)
Hi,
The system.Data.DBType cannot be converted to string and this is creating the problem. Rest part of the connection string is looking fine. Change the System.Data.DBtype.string to just System.Data.DBType. Leave rest of the code as it is. You will find it working. Hope this solves the problem.
Waters Magner