Regards, Raja, USA
<% // Constants var connString = "Driver={SQL Native Cleint}; Server=serverName\instanceName; Database=databaseName; User ID=userName; Password=password;"; // and more code follows Then in the layout1.inc.asp page: <% var conn = Server.CreateObject("ADODB.Connection"); conn.Open(connString); var RS = Server.CreateObject("ADODB.recordset"); // and more code follows Then in the index.asp page: <% @language="JScript" %> <% var title = "gallatin county emergency management"; %> <!-- #include file="global.inc.asp" --> <!-- #include file="layout1.inc.asp" -->
Thanks SagarP http://www.emanonsolutions.net http://emanonsolutions.blogspot.com/
Login to post response