asadsiddiqui
Newcomer
- Joined
- Jan 27, 2005
- Messages
- 1
Hello friends,
I have some problem in my ASP.NET connection file
'Connection file code
<%
dim connstr
connstr=("Provider=Microsoft.Jet.OLEDB.4.0;data source="&server.mappath("database/it.mdb")&"")
%>
i include this file in my ASP.NET page through include file
<!-- #include file="connection.aspx"-->
but when i execute my ASP.NET pages follwoing error appeared
Compiler Error Message: BC30451: Name 'connstr' is not declared.
Pls help me out.
I have some problem in my ASP.NET connection file
'Connection file code
<%
dim connstr
connstr=("Provider=Microsoft.Jet.OLEDB.4.0;data source="&server.mappath("database/it.mdb")&"")
%>
i include this file in my ASP.NET page through include file
<!-- #include file="connection.aspx"-->
but when i execute my ASP.NET pages follwoing error appeared
Compiler Error Message: BC30451: Name 'connstr' is not declared.
Pls help me out.