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.

120 lines
4.8 KiB

<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="SQLQuery.aspx.vb" Inherits="LPWeb.SQLQuery" %>
<%@ Register Src="~/Defaults/Header.ascx" TagPrefix="shu" TagName="Header" %>
<%@ Register Src="~/UserControls/Menu1.ascx" TagPrefix="shu" TagName="Menu" %>
<%@ Register Src="~/Defaults/Footer.ascx" TagPrefix="shu" TagName="Footer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title></title>
<link href="~/Styles/Site.css" rel="stylesheet" type="text/css" />
<style type="text/css">
.style1
{
width: 136px;
}
.auto-style4 {
height: 153px;
}
.auto-style5 {
height: 50px;
width: 309px;
}
.auto-style6 {
height: 20px;
width: 309px;
}
.auto-style7 {
height: 153px;
width: 51px;
}
.auto-style8 {
width: 51px;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<telerik:RadScriptManager ID="ScriptManager1" runat="server"
EnableTheming="True">
<scripts>
<asp:ScriptReference Assembly="Telerik.Web.UI"
Name="Telerik.Web.UI.Common.Core.js">
</asp:ScriptReference>
<asp:ScriptReference Assembly="Telerik.Web.UI"
Name="Telerik.Web.UI.Common.jQuery.js">
</asp:ScriptReference>
<asp:ScriptReference Assembly="Telerik.Web.UI"
Name="Telerik.Web.UI.Common.jQueryInclude.js">
</asp:ScriptReference>
</scripts>
</telerik:RadScriptManager>
<div class="page">
<shu:Header runat="Server" ID="Header1"></shu:Header>
<shu:Menu runat="server" ID="Menu1" NavigationLanguage="VB"></shu:Menu>
<div class="main">
<h2>SQL-Query</h2>
<p>
<table style="width:100%;">
<tr>
<td class="auto-style7" valign="top" rowspan="2">Query</td>
<td class="auto-style6" valign="top">
<telerik:RadComboBox ID="RadComboBox1" Runat="server" Culture="de-DE" DataSourceID="SqlDataSource1" DataTextField="Bezeichnung" DataValueField="Beschreibung" AutoPostBack="True" style="margin-left: 0px" Width="400px">
</telerik:RadComboBox>
</td>
<td class="auto-style4" colspan="2" valign="top" rowspan="2">
</td>
</tr>
<tr>
<td class="auto-style5" valign="top">
<telerik:RadTextBox ID="RadTextBox1" Runat="server" Width="586px" EmptyMessage="SQL-String" Height="107px" TextMode="MultiLine">
</telerik:RadTextBox>
</td>
</tr>
<tr>
<td class="auto-style8">&nbsp;</td>
<td colspan="2">
<telerik:RadButton ID="RadButton1" runat="server" Text="Ausführen">
</telerik:RadButton>
</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style8">&nbsp;</td>
<td colspan="3">
<telerik:RadGrid ID="RadGrid1" runat="server" CellSpacing="0" Culture="de-DE" GridLines="None">
<ExportSettings ExportOnlyData="True" IgnorePaging="True">
</ExportSettings>
<MasterTableView CommandItemDisplay="Top">
<CommandItemSettings ShowExportToCsvButton="True" ShowExportToExcelButton="True" />
<RowIndicatorColumn Visible="False">
</RowIndicatorColumn>
<ExpandCollapseColumn Created="True">
</ExpandCollapseColumn>
</MasterTableView>
</telerik:RadGrid>
</td>
</tr>
</table>
</p>
<p>
<asp:Label ID="Label1" runat="server"></asp:Label>
</p>
</div>
</div>
<shu:Footer runat="Server" ID="Footer1"></SHU:Footer>
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:LPConnectionString %>"
SelectCommand="SELECT [Nreintrag], [Bezeichnung], [Beschreibung] FROM [SQL_Queries] ORDER BY [Bezeichnung]">
</asp:SqlDataSource>
</form>
</body>
</html>