Need simple example of executing insert statement

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for MySQL
Post Reply
eugene-g
Posts: 5
Joined: Fri 20 Jun 2008 15:29

Need simple example of executing insert statement

Post by eugene-g » Fri 20 Jun 2008 16:41

Greetings,
Does anyone have a complete simple example of using MyDirect with C# to execute an insert statement?
I just need to see what objects I should use to do that (i.e. DataAdapter, DataSet, etc...)
Any such examples are much appreciated.

-Eugene

anton.connect
Posts: 43
Joined: Thu 19 Jun 2008 14:30

Post by anton.connect » Mon 23 Jun 2008 09:14

Hello, Eugene

There are many examples that have installed with MyDirect .NET (if you have chosen a full installation). You can find them here:

1) Start -> Programs -> Core Lab MyDirect for .NET2 -> Samples
2) C:\Program Files\CoreLab\MyDirect.NET2\Samples\

eugene-g
Posts: 5
Joined: Fri 20 Jun 2008 15:29

Post by eugene-g » Wed 02 Jul 2008 03:19

I'm unable to compile the Examples because references to Crystal Decisions is missing. Where should I get that from?

anton.connect
Posts: 43
Joined: Thu 19 Jun 2008 14:30

Post by anton.connect » Wed 02 Jul 2008 08:42

Crystal Decisions goes with your Visual Studio. The reason may be that you have not chosen the full installation of Microsoft Visual Studio.
Here are the possible solutions:
1) Install Crystal Decisions from the distribution kit of Visual Studio.
2) Delete the Crystal project and all references to it in the References section.

Post Reply