ASP.NET connectivity with SQL server
i am working in asp.net web application and for connectivity with sql server i am using the statement in the pageload event as
Dim sqlcon as SqlConnection
I have added the references
System.dll
System.data.dll
and in the codebehind code I have used the following import statements
<%@ Import Namespace="System.IO" %>
<%@ Import Namespace="System.data" %
<%@ Import Namespace="System.data.sqlclient" %>
but when i compile i m getting the error as type 'sqlconnection' not defined.same is with sqldataadapter and sqlcommandbuilder.i m getting the error of type not defined
|