You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
588 B
16 lines
588 B
<%@ Application Language="C#" %>
|
|
<%@ Import Namespace="System.Data.OleDb" %>
|
|
<%@ Import Namespace="System.IO" %>
|
|
<%@ Import Namespace="System.Data" %>
|
|
<script runat="server">
|
|
DB my = new DB();
|
|
string sql;
|
|
string countpatch;
|
|
void Application_Start(object sender, EventArgs e)
|
|
{
|
|
countpatch = System.AppDomain.CurrentDomain.BaseDirectory.ToString();
|
|
countpatch = countpatch + "\\count.txt";
|
|
sql = "select * from sw_config";
|
|
OleDbDataReader dr = my.ExecuteReader(sql);
|
|
StreamReader sr = new StreamReader(countpatch);
|