14 Part I:The .NET Framework VB myConnection = "Initial Catalog=Northwind;Data Source=localhost; Integrated Security=SSPI;" Dim conn As New System.Data.SQLClient.SqlConnection(myConnection) C# myConnection = "Initial Catalog=Northwind;Data Source=localhost; Integrated Security=SSPI;"; SqlConnection conn = new System.Data.SQLClient.SqlConnection(myConnection); If you do import the System.Data.SQLClient namespace into your application or to the page where you need it, you can refer to the class quite simply, as show n in the following code: VB myConnection = "Initial Catalog=Northwind;Data Source=localhost; Integrated Security=SSPI;" Dim conn As New SqlConnection(myConnection) C# myConnection = "Initial Catalog=Northwind;Data Source=localhost; Integrated Security=SSPI;"; SqlConnection conn = new SqlConnection(myConnection); You can import a namespace directly to an .aspx page inline in the following manner for both Visual Basic .NET and C#: VB and C# <%@ Import Namespace="System.Data" %> <%@ Import Namespace="System.Data.SqlClient" %> Notice in the preceding code that because you imported two namespaces into the page inline, you had to put each of the namespaces within its own set of opening and closing brackets. When building your .NET applications in the .NET Framework, a number of namespaces are already automatically imported into your application for use throughout. An ASP.NET Web application automatically imports the following namespaces: System System.Data System.Drawing System.Web System.XML You can find a list of all the imported namespaces in the References fol der in the application root. A Windows Form application automatically imports the following nam espaces: