How to programming in C# with Access2007?

realar

New member
Local time
Yesterday, 16:39
Joined
Nov 26, 2009
Messages
3
1. As the tilte
2. Is there a interface in Access2007 that I can input C# code?
 
Well, you'd use System.Data.OleDb namespace to interact with data stored in the .mdb or .accdb format. Look at MSDN documentation on the namespace. You'll need to know about OleDbConnection, OleDbCommand, and depending on your purposes, DataAdaptor & DataSet/DataTables or DataReader.

But... if you're going to all the trouble of programming in C#, why even bother with Access database? Use SQLite or SQL Compact Edition and distribute that with your C# application so you don't have to worry about version or whether the Windows has the right program installed.
 
does microsoft hold the rights to the C language?

C language predated Microsoft, I would think. However, Microsoft did develop C# (which is actually closer to Java than C/C++ language). Even so, I don't think they do anything to prevent adoption of C# on Linux platforms via Mono framework.
 
C language predated Microsoft, I would think. However, Microsoft did develop C# (which is actually closer to Java than C/C++ language). Even so, I don't think they do anything to prevent adoption of C# on Linux platforms via Mono framework.

since I dont' speak banana lingo, I'll just agree by saying, "I know what you mean Banana!"
 

Users who are viewing this thread

Back
Top Bottom