Muhammad Zeeshan Muhammad Zeeshan - 1 year ago 171
C# Question

C # using System.Data.OleDb problem

I have tried this on IDE SharpDevelop not on visual studio.
I am using the namespace like this:

using System.Data.OleDb;

But it is showing me following error:

'Data' does not exist in the namespace 'System'(are you missing an assembly reference?)(CS0234)

Answer Source

Listen to the compiler: you're probably missing a reference to the System.Data assembly in your project. You need to add that reference using the Add Reference... dialog from the Project menu.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download