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

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.