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.
OboutSuite/AJAXPage/vb_Tree_UserControl.ascx.vb

16 lines
611 B

imports System
imports System.Data.SqlClient
public class vb_Tree_UserControl
inherits System.Web.UI.UserControl
protected sub Page_Load(byval sender as object, byval e as EventArgs)
dim oTree as obout_ASPTreeView_2_NET.Tree = new obout_ASPTreeView_2_NET.Tree()
'sql express
Dim oConn As SqlConnection = New SqlConnection("Server=.\SQLEXPRESS;AttachDBFilename=|DataDirectory|TreeNodes.mdf;Database=TreeNodes;Trusted_Connection=Yes;")
'MSSQL Server
'dim oConn as SqlConnection = new SqlConnection("Driver={SQL Server};Server=localhost;UID=obout_usr;PWD=obout_pwd;Database=obout;")