References VS Imports

  • Thread starter Thread starter Adam Knight
  • Start date Start date
A

Adam Knight

Hi all,

Just a quick question.

When developing with VS obviously it adds references to particular dlls by
default when creating a project.
IE System, System.Data ect

My question is:
As System.Data.SqlClient is missing from the default references, what is the
standard in developing in visual studio.
Add a reference to the missing files or use the 'Imports' statement.

Is their a general trend out there in this regard?

Cheers,
Adam
 
I prefer to add it to the References to ensure I get IntelliSense support.
Not sure that one reply amounts to a trend, but there you go. <grin>
 

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