imports statement

  • Thread starter Thread starter dennist
  • Start date Start date
D

dennist

Thank you Steve, but where within the form would I place
them? What if I'm not putting them in a module or a
class, but want to create connections and commands in a
form?

dennist
 
What Steve is saying still holds for forms. Remember dennist --- the form
code is a class too.

so for example, i have ....

Imports System.Data.Odbc
Imports System.Data.OleDB

Public Class Form1

<functions/subs code>

End Class

Bob J.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top