Live Chat Icon For mobile
Live Chat Icon

Why am I getting the error: ‘Type ‘(OleDb or SQL)Connection’ is not defined.’

Platform: ASP.NET| Category: Error Handling

You get this error when you have not imported the following namespaces in your code in the aspx file:
System.Data.SqlClient or System.Data.OleDb.

Share with

Share on twitter
Share on facebook
Share on linkedin