Finding Tables in MS Access using C# -


Using C # is it possible to set tables and columns in MS Access to a particular database?

Can anyone direct me to this issue?

The way you access MS-Access files, you can assign tables and column / field names to different ways You can read from:

  1. With an OLDB connection: You can use the ADOX objects collection and read tables, columns, indexes and more. Database
  2. With an ODBC connection, you can list MS-ACCESS system tables, open a record on each table, and then read all the field names. Tables can be listed with the following SQL command:

    Select from MSysObjects name WHERE type = 1

  3. In all cases, once a The table is opened through a RecordSet, you can read its field names by looping the field of the record set object


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -