S
S Prom
I made the changes in web.config to use db_app
<%@ Page Language="VB" Debug="true"%>
<%@ Import Namespace="System.Data" %>
<%@ Import NameSpace="System.Data.SqlClient"%>
connectionstring = ConfigurationSettings.AppSettings("db_app")
strQ = "Select field1,field2,field3 From tbldata where field1 ='1'"
objRS = objConn(strQ)
objConn.close()
objConn = nothing
I am just trying to make a connection to the database and getting data.
I know I have the web.config part right, but I just can't get it to
execute the query. I tried searching the groups for a couple of days
already but no success.
So if anyone can help, thanks.
<%@ Page Language="VB" Debug="true"%>
<%@ Import Namespace="System.Data" %>
<%@ Import NameSpace="System.Data.SqlClient"%>
connectionstring = ConfigurationSettings.AppSettings("db_app")
strQ = "Select field1,field2,field3 From tbldata where field1 ='1'"
objRS = objConn(strQ)
objConn.close()
objConn = nothing
I am just trying to make a connection to the database and getting data.
I know I have the web.config part right, but I just can't get it to
execute the query. I tried searching the groups for a couple of days
already but no success.
So if anyone can help, thanks.