Find Field In Access Table
Posted
by
user3535895
on Stack Overflow
See other posts from Stack Overflow
or by user3535895
Published on 2014-06-04T15:22:04Z
Indexed on
2014/06/04
15:24 UTC
Read the original article
Hit count: 146
vsto
I need to connect to a local table in Access and find a an entry in the name field then find the id of that name. I know how to connect to access and create the connection there, but actually manipulating the table I am lost. I can use this to connect to access, but how would I access the table and find the field I am looking for? The data structure of the table I want to connect to is: name text, address text, id autonumber.
System.Collections.ArrayList outside = new System.Collections.ArrayList();
System.Data.OleDb.OleDbConnection olecon = new System.Data.OleDb.OleDbConnection"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + path);
olecon.Open();
© Stack Overflow or respective owner