G
Guest
What's the easiest way to make an insert using Microsoft.Jet.OLEDB.4.0
OleDbConnection connection to a MS Access data base file?
I'm finding examples out on the net that have like 1,000 line of code to
perform what I would imagine should be a very simple task.
I've mostly done DB code in Java and it would be simply making a
PreparedStatement with the wild cards inside, like:
"insert into MyTable (my_id, my_text) values (?, ?)"
and then using the various setObject(int position, object value) methods to
set the wildcards.... simple!
is there something as simple in C#?
I'm finding example codes creating these DataAdapters and setting these long
verbose Paramters and I'm getting really confused...
OleDbConnection connection to a MS Access data base file?
I'm finding examples out on the net that have like 1,000 line of code to
perform what I would imagine should be a very simple task.
I've mostly done DB code in Java and it would be simply making a
PreparedStatement with the wild cards inside, like:
"insert into MyTable (my_id, my_text) values (?, ?)"
and then using the various setObject(int position, object value) methods to
set the wildcards.... simple!
is there something as simple in C#?
I'm finding example codes creating these DataAdapters and setting these long
verbose Paramters and I'm getting really confused...