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.
140 lines
6.2 KiB
140 lines
6.2 KiB
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
|
<HTML xmlns:MSHelp="http://msdn.microsoft.com/mshelp" DIR="LTR"><HEAD>
|
|
<meta name="GENERATOR" content="VBdocman .NET - documentation generator; http://www.vbdocman.com">
|
|
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=UTF-8">
|
|
<TITLE>clsApplikationTree.Load_Treedata (System.String, System.Boolean, System.Boolean) -Methode</TITLE>
|
|
<xml>
|
|
<MSHelp:TOCTitle Title="clsApplikationTree.Load_Treedata (System.String, System.Boolean, System.Boolean) -Methode"/>
|
|
<MSHelp:RLTitle Title="clsApplikationTree.Load_Treedata (System.String, System.Boolean, System.Boolean) -Methode"/>
|
|
<MSHelp:Keyword Index="A" Term="topic_00000000000006B6"/>
|
|
<MSHelp:Keyword Index="K" Term="clsApplikationTree.Load_Treedata (System.String, System.Boolean, System.Boolean) -Methode"/>
|
|
<MSHelp:Keyword Index="K" Term="Vertragsverwaltung.TKB.VV.Applikation.clsApplikationTree.Load_Treedata -Methode"/>
|
|
<MSHelp:Keyword Index="F" Term="Vertragsverwaltung.TKB.VV.Applikation.clsApplikationTree.Load_Treedata"/>
|
|
<MSHelp:Keyword Index="F" Term="clsApplikationTree.Load_Treedata (System.String, System.Boolean, System.Boolean)"/>
|
|
<MSHelp:Keyword Index="F" Term="Vertragsverwaltung.TKB.VV.Applikation.clsApplikationTree.clsApplikationTree.Load_Treedata (System.String, System.Boolean, System.Boolean)"/>
|
|
<MSHelp:Attr Name="DevLang" Value="VB"/>
|
|
<MSHelp:Attr Name="DevLangVers" Value="kbLangVB"/>
|
|
<MSHelp:Attr Name="DocSet" Value="Visual Basic"/>
|
|
<MSHelp:Attr Name="DocSet" Value="Visual Studio"/>
|
|
<MSHelp:Attr Name="DocSet" Value="VSM"/>
|
|
<MSHelp:Attr Name="Product" Value="VB"/>
|
|
<MSHelp:Attr Name="ProductVers" Value="kbVBp700"/>
|
|
<MSHelp:Attr Name="Product" Value="VSA"/>
|
|
<MSHelp:Attr Name="ProductVers" Value="kbVSA"/>
|
|
<MSHelp:Attr Name="Technology" Value="ManagedCode"/>
|
|
<MSHelp:Attr Name="TechnologyVers" Value="kbManagedCode"/>
|
|
<MSHelp:Attr Name="TopicType" Value="kbSyntax"/>
|
|
<MSHelp:Attr Name="TargetOS" Value="Windows"/>
|
|
<MSHelp:Attr Name="Locale" Value="kbEnglish"/>
|
|
</xml>
|
|
<META name="rtfFileName" content="">
|
|
<META NAME="save" CONTENT="history">
|
|
<!--CSS_START-->
|
|
<SCRIPT SRC="MSHelp/scripts/dtuelink.js"></SCRIPT>
|
|
<!--CSS_END-->
|
|
<SCRIPT language="JavaScript">
|
|
function indent(level) {
|
|
for (i=1; i<=level; i++) {
|
|
document.write(" ");
|
|
}
|
|
}
|
|
</SCRIPT>
|
|
</HEAD>
|
|
<body topmargin=0 id="bodyID" class = "dtBODY"><!--NONSCROLLING BANNER START-->
|
|
<div id="nsbanner">
|
|
<div id="bannerrow1">
|
|
<TABLE CLASS="bannerparthead" CELLSPACING=0>
|
|
<TR ID="hdr">
|
|
<TD CLASS="runninghead" nowrap>Vertragsverwaltung-Klassenbibliothek</TD>
|
|
<TD CLASS="product" nowrap> </TD>
|
|
</TR>
|
|
</TABLE>
|
|
</div>
|
|
<div id="TitleRow">
|
|
<H1 class="dtH1"><A NAME="topic_00000000000006B6"></A>clsApplikationTree.Load_Treedata (System.String, System.Boolean, System.Boolean) -Methode</H1>
|
|
</div></div>
|
|
<!--NONSCROLLING BANNER END-->
|
|
|
|
<DIV id="nstext" valign="bottom"><!---->
|
|
|
|
|
|
|
|
|
|
|
|
<PRE class="syntax"><SPAN class="lang">[Visual Basic]
|
|
</SPAN><B>Private Function Load_Treedata( _ <br> ByVal <i>Suchstring</i> As <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemStringClassTopic.htm">String</a>, _ <br> ByVal <i>nuraktive</i> As <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemBooleanClassTopic.htm">Boolean</a>, _ <br> ByVal <i>Archivobjekte</i> As <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemBooleanClassTopic.htm">Boolean</a> _ <br>) As <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemDataDataTableClassTopic.htm">DataTable</a></B></PRE>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<H4 class="dtH4">Parameter</H4>
|
|
<dl>
|
|
<dt><i>Suchstring</i></dt>
|
|
<dd></dd>
|
|
<dt><i>nuraktive</i></dt>
|
|
<dd></dd>
|
|
<dt><i>Archivobjekte</i></dt>
|
|
<dd></dd>
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<H4 class="dtH4">Quellcode</H4>
|
|
<pre class="code"><SPAN class="lang">[Visual Basic]</SPAN>
|
|
Private Function Load_Treedata(ByVal Suchstring As String, ByVal nuraktive As Boolean, ByVal Archivobjekte As Boolean) As DataTable <br> Treedata.Tables.Clear() <br> Dim selectcommand As New SqlCommand <br> Dim connection As New SqlConnection() <br> Dim da As New SqlDataAdapter("", connection) <br> <br> selectcommand.CommandText = "sp_get_applstruktur_suche" <br> selectcommand.Parameters.Add("@Mitarbeiternr", SqlDbType.Int, 4) <br> selectcommand.Parameters.Add("@suchstring", SqlDbType.VarChar, 255) <br> selectcommand.Parameters.Add("@NurAktive", SqlDbType.Int, 4) <br> selectcommand.Parameters.Add("@arcobject", SqlDbType.Int, 4) <br> selectcommand.Parameters(0).Value = Globals.clsmitarbeiter.iMitarbeiternr.Value <br> selectcommand.Parameters(1).Value = Suchstring <br> If nuraktive = True Then <br> selectcommand.Parameters(2).Value = 1 <br> Else <br> selectcommand.Parameters(2).Value = 0 <br> End If <br> If Archivobjekte = True Then <br> selectcommand.Parameters(3).Value = 1 <br> End If <br> <br> selectcommand.CommandType = CommandType.StoredProcedure <br> selectcommand.Connection = connection <br> Try <br> connection.ConnectionString = Globals.sConnectionString <br> connection.Open() <br> da.SelectCommand = selectcommand <br> da.Fill(Treedata, "Tree") <br> Catch ex As Exception <br> Finally <br> connection.Close() <br> da.Dispose() <br> selectcommand.Dispose() <br> End Try <br> <br> End Function
|
|
</pre>
|
|
|
|
|
|
|
|
<H4 class="dtH4">Forderungen</H4>
|
|
<P><b class="le">Plattformen: </b>Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition</P>
|
|
|
|
|
|
<H4 class="dtH4">Siehe auch</H4>
|
|
<p>
|
|
<a href="topic_00000000000006B2.html">clsApplikationTree</a>
|
|
|
|
|
|
|
|
|
|
|
|
</p>
|
|
|
|
|
|
<DIV CLASS="footer">
|
|
<HR>
|
|
Generated by VBdocman .NET
|
|
<p>
|
|
</div></div>
|
|
</BODY>
|
|
</HTML>
|
|
|