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
600 B
16 lines
600 B
<%@ Import Namespace="Obout.Tree_DB"%>
|
|
<%@ Page Language="C#" AutoEventWireup="true" Inherits="OboutInc.oboutAJAXPage" %>
|
|
<script runat="server">
|
|
public TreeDB oTreeDB;
|
|
|
|
protected void Page_Load(object sender, EventArgs e)
|
|
{
|
|
oTreeDB = new TreeDB();
|
|
|
|
// declaring the connection string:
|
|
// Sql Express
|
|
oTreeDB.ConnectionString = "Server=.\\SQLEXPRESS;AttachDBFilename=|DataDirectory|TreeNodes.mdf;Database=TreeNodes;Trusted_Connection=Yes;";
|
|
|
|
//MSSQL Server
|
|
//oTreeDB.ConnectionString = "Driver={SQL Server};Server=localhost;UID=obout_usr;PWD=obout_pwd;Database=obout;";
|