Jump to content

Import Excel file into MS DataGrid with AutoCAD debug using C sharp.


muck

Recommended Posts

I am using C sharp.

Import excel file into MS DataGrid with AutoCAD debug I get the following

 

Error Messages.

MS Jet OLEDB.4 provider in not register on local machine

Application does not support JIT debugging.

 

I have a program using the following statements

 

private string Excel03ConString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source={0};Extended Properties='Excel 8.0;HDR={1}'";

private string Excel07ConString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source={0};Extended Properties='Excel 8.0;HDR={1}'";

 

The program is used to import an excel file to a data grid.

The program works as an independent program but when I copy and paste my code into

a program that uses AutoCAD debug I get the following messages.

 

MS Jet OLEDB.4 provider in not register on local machine

Application does not support JIT debugging.

 

 

Why is this happing when I use AutoCAD debug?

 

Thank you,

Link to comment
Share on other sites

Is there another way to import an excel file to a C# data grid not using

Microsoft.Jet.OLEDB.4.0 Or Microsoft.ACE.OLEDB.12.0?

 

Thank you,

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...