Nov 18, 2004 #1 CJAI MIS Oct 21, 2003 224 US I am using a codebehind page to seperate my application layers. My questions is where do I import the namespaces?? I keep getting the error "Type 'SQLConnection' is not defined." Where do I import the namespace and what syntax do I use??? Thanks all, J
I am using a codebehind page to seperate my application layers. My questions is where do I import the namespaces?? I keep getting the error "Type 'SQLConnection' is not defined." Where do I import the namespace and what syntax do I use??? Thanks all, J
Nov 18, 2004 #2 chiph Programmer Jun 9, 1999 9,878 US for C#, add [tab]using System.Data.SqlClient; at the top of your code (must be first thing, before any class declarations) For VB.NET, add [tab]Imports System.Data.SqlClient Chip H. ____________________________________________________________________ If you want to get the best response to a question, please read FAQ222-2244 first Upvote 0 Downvote
for C#, add [tab]using System.Data.SqlClient; at the top of your code (must be first thing, before any class declarations) For VB.NET, add [tab]Imports System.Data.SqlClient Chip H. ____________________________________________________________________ If you want to get the best response to a question, please read FAQ222-2244 first