473,396 Members | 1,766 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

References VS Imports

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
Nov 24 '05 #1
1 858
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>
"Adam Knight" <ad**@pertrain.com.au> wrote in message
news:uu**************@TK2MSFTNGP14.phx.gbl...
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

Nov 24 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Dave Veeneman | last post by:
I know there must be a simple answer to this question. I just split a Windows application into two projects; the original application and a class library. I moved a number of classes to the class...
1
by: google | last post by:
I have studio 2003 and also have Crystal reports 9 installed on my machine The problem this causes is that its mixing up the version of the dlls to pick up. I am adding a Crystal report viewer 9.2...
1
by: EO | last post by:
I am trying to use the MSFT data access application block on 3 machines. Machine 1: Sandbox environment; I installed the application block with the msi. The Sqlhelper class compiles & runs...
2
by: Bruce W.1 | last post by:
What's the point of putting a reference (eg. to System.Data) in the Solution Explorer AND at the top of the code files (using in C# and Imports in VB)? Is there some purpose to this redundancy?...
16
by: Dave S | last post by:
Anyone know how to get round the problem of circular references in VB.NET (sorry I'm a .NET newbie). I create one project which has 2 classes in it, MyHandler and MyObject. MyHandler just needs...
2
by: tshad | last post by:
I am trying to build a small shared routine that I call in all my pages. I don't want to create an object reference as I just want to make a routine that I can use to add in code that needs to be...
3
by: Pierre | last post by:
Hello, I have read somewhere that it is possible to add general reference to a project in VS. But I do not remember this article... I would like avoid adding on each page a "Imports...
7
by: larclap | last post by:
The following code snippet has reference errors: Imports System Imports System.Data Imports System.Data.SqlTypes Imports System.Data.SqlClient Public Class DataSourceDB Private _Descr,...
1
by: marcroy.olsen | last post by:
Hi Python list, I have been struggleling with this before, but have never been able to find a good solution. The thing I dont understand is, I follow the guide here:...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.