Update 20210802

This commit is contained in:
2021-08-02 09:48:43 +02:00
parent 40918f9b90
commit 87190e1eb1
23 changed files with 640468 additions and 70 deletions

View File

@@ -1,108 +1,98 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// <automatisch generiert>
// Dieser Code wurde von einem Tool generiert.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
// Änderungen an dieser Datei können fehlerhaftes Verhalten verursachen und gehen verloren, wenn
// der Code neu generiert wird.
// </automatisch generiert>
//------------------------------------------------------------------------------
namespace QW2021C {
public partial class ButtonFeatures {
namespace QW2021C
{
public partial class ButtonFeatures
{
/// <summary>
/// Start control.
/// Start-Steuerelement
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// Automatisch generiertes Feld
/// Zum Ändern Felddeklaration aus der Designerdatei in eine Code-Behind-Datei verschieben.
/// </remarks>
protected global::Syncfusion.JavaScript.Web.Button Start;
/// <summary>
/// Play control.
/// Play-Steuerelement
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// Automatisch generiertes Feld
/// Zum Ändern Felddeklaration aus der Designerdatei in eine Code-Behind-Datei verschieben.
/// </remarks>
protected global::Syncfusion.JavaScript.Web.ToggleButton Play;
/// <summary>
/// Save control.
/// Save-Steuerelement
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// Automatisch generiertes Feld
/// Zum Ändern Felddeklaration aus der Designerdatei in eine Code-Behind-Datei verschieben.
/// </remarks>
protected global::Syncfusion.JavaScript.Web.SplitButton Save;
/// <summary>
/// RepeatButton control.
/// RepeatButton-Steuerelement
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// Automatisch generiertes Feld
/// Zum Ändern Felddeklaration aus der Designerdatei in eine Code-Behind-Datei verschieben.
/// </remarks>
protected global::Syncfusion.JavaScript.Web.Button RepeatButton;
/// <summary>
/// CheckBox control.
/// CheckBox-Steuerelement
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// Automatisch generiertes Feld
/// Zum Ändern Felddeklaration aus der Designerdatei in eine Code-Behind-Datei verschieben.
/// </remarks>
protected global::Syncfusion.JavaScript.Web.CheckBox CheckBox;
/// <summary>
/// Radio1 control.
/// Radio1-Steuerelement
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// Automatisch generiertes Feld
/// Zum Ändern Felddeklaration aus der Designerdatei in eine Code-Behind-Datei verschieben.
/// </remarks>
protected global::Syncfusion.JavaScript.Web.RadioButton Radio1;
/// <summary>
/// Radio2 control.
/// Radio2-Steuerelement
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// Automatisch generiertes Feld
/// Zum Ändern Felddeklaration aus der Designerdatei in eine Code-Behind-Datei verschieben.
/// </remarks>
protected global::Syncfusion.JavaScript.Web.RadioButton Radio2;
/// <summary>
/// Radio3 control.
/// Radio3-Steuerelement
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// Automatisch generiertes Feld
/// Zum Ändern Felddeklaration aus der Designerdatei in eine Code-Behind-Datei verschieben.
/// </remarks>
protected global::Syncfusion.JavaScript.Web.RadioButton Radio3;
/// <summary>
/// ToggleButtonChange control.
/// ToggleButtonChange-Steuerelement
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// Automatisch generiertes Feld
/// Zum Ändern Felddeklaration aus der Designerdatei in eine Code-Behind-Datei verschieben.
/// </remarks>
protected global::Syncfusion.JavaScript.Web.ToggleButton ToggleButtonChange;
/// <summary>
/// UpdatePanelProp control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.UpdatePanel UpdatePanelProp;
/// <summary>
/// EventLog control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlGenericControl EventLog;
/// <summary>
/// ClearButton control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::Syncfusion.JavaScript.Web.Button ClearButton;
}
}

View File

@@ -460,6 +460,7 @@
<Content Include="Administration\saveFiles.ashx" />
<Content Include="Administration\saveFilescsv.ashx" />
<Content Include="Resultate\Auswertungen.aspx" />
<Content Include="Resultate\Check_Duplicata.aspx" />
<Content Include="Resultate\Disziplin_Bezeichnung.aspx" />
<Content Include="Resultate\KategoriençKUKC.aspx" />
<Content Include="Resultate\Report.aspx" />
@@ -712,6 +713,13 @@
<Compile Include="Resultate\Auswertungen.aspx.designer.cs">
<DependentUpon>Auswertungen.aspx</DependentUpon>
</Compile>
<Compile Include="Resultate\Check_Duplicata.aspx.cs">
<DependentUpon>Check_Duplicata.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="Resultate\Check_Duplicata.aspx.designer.cs">
<DependentUpon>Check_Duplicata.aspx</DependentUpon>
</Compile>
<Compile Include="Resultate\Disziplin_Bezeichnung.aspx.cs">
<DependentUpon>Disziplin_Bezeichnung.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>

View File

@@ -0,0 +1,39 @@
<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Site.Master" CodeBehind="Check_Duplicata.aspx.cs" Inherits="QW2021C.Resultate.Check_Duplicata" %>
<%@ Register Assembly="Syncfusion.EJ.Web, Version=18.3460.0.35, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" Namespace="Syncfusion.JavaScript.Web" TagPrefix="ej" %>
<%@ Register Assembly="Syncfusion.EJ, Version=18.3460.0.35, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" Namespace="Syncfusion.JavaScript.Models" TagPrefix="ej" %>
<%@ Register assembly="Syncfusion.EJ" namespace="Syncfusion.JavaScript.Models" tagprefix="ej" %>
<asp:Content ID="MainContent" DataSourceID="SqlDataSource1" ContentPlaceHolderID="MainContent" runat="Server">
<asp:Label runat="server"><h4>Doppelte Athleten</h4></asp:Label>
<ej:Grid ID="Diszplingrid" OnServerCommandButtonClick="OnClick" runat="server" CssClass="" DataSourceCachingMode="None" DataSourceID="SqlDataSource1" EnableLoadOnDemand="False" Locale="de-DE" MinWidth="0">
<Columns>
<ej:Column DataType="string" Field="Nachname" Width="150px">
</ej:Column>
<ej:Column DataType="string" Field="Vorname" Width="150px">
</ej:Column>
<ej:Column DataType="string" Field="Kategorie" Width="100px">
</ej:Column>
<ej:Column DataType="string" Field="Jahrgang" Width="100px">
</ej:Column>
<ej:Column DataType="string" Field="Verein" Width="150px">
</ej:Column>
<ej:Column DataType="string" Field="Lizenz1" Width="100px">
</ej:Column>
<ej:Column DataType="string" Field="Lizenz2" Width="100px">
</ej:Column>
<ej:Column HeaderText="Aktualisieren Lizenz2->Lizenz1" Field="" TextAlign="Center">
<Command>
<ej:Commands Type="UpdateBtn">
<ButtonOptions Text="Update" Click="OnClick" CssClass="e-flat" />
</ej:Commands>
</Command>
</ej:Column>
</Columns>
</ej:Grid>
<asp:SqlDataSource runat="server" ID="SqlDataSource1" ConnectionString="<%$ ConnectionStrings:QWToolConnectionstring %>"
SelectCommand="handle_duplicates" SelectCommandType="StoredProcedure" >
</asp:SqlDataSource>
</asp:Content>

View File

@@ -0,0 +1,76 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Syncfusion.JavaScript.Web;
namespace QW2021C.Resultate
{
public partial class Check_Duplicata : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
}
}
public void OnClick(object sender, GridEventArgs e)
{
string nachname="";
string vorname="";
string jahrgang = "";
string kategorie = "";
string verein = "";
string lizenz1 = "";
string lizenz2 = "";
switch (e.Arguments["commandType"].ToString())
{
case "UpdateBtn":
Dictionary<string, object> keyVals = e.Arguments["data"] as Dictionary<string, object>;
foreach (KeyValuePair<string, object> keyval1 in keyVals)
{
if (keyval1.Key == "Nachname") nachname = keyval1.Value.ToString();
if (keyval1.Key == "Vorname") vorname = keyval1.Value.ToString();
if (keyval1.Key == "Jahrgang") jahrgang = keyval1.Value.ToString();
if (keyval1.Key == "Kategorie") kategorie = keyval1.Value.ToString();
if (keyval1.Key == "Verein") verein = keyval1.Value.ToString();
if (keyval1.Key == "Lizenz1") lizenz1 = keyval1.Value.ToString();
if (keyval1.Key == "Lizenz2") lizenz2 = keyval1.Value.ToString();
}
clsDB db = new clsDB();
string sql = "";
sql = "Update res_resultate set lizenz='" + lizenz2 + "' where lizenz='" + lizenz1 + "' and nachname='" + nachname + "'";
sql = sql + " and vorname='" + vorname + "' and verein='" + verein + "' and jahrgang='" + jahrgang + "' and kategorie='" + kategorie + "'";
db.Get_Tabledata(sql, false, true);
this.Diszplingrid.DataBind();
break;
case "SelectW2":
break;
case "SelectW3":
break;
case "SelectW4":
break;
default:
break;
}
}
}
public class athlete {
public string nachname { get; set; }
public string vorname { get; set; }
public string jahrgang { get; set; }
public string kategorie { get; set; }
public string verein { get; set; }
public string lizenz1 { get; set; }
public string lizenz2 { get; set; }
}
}

View File

@@ -0,0 +1,35 @@
//------------------------------------------------------------------------------
// <automatisch generiert>
// Dieser Code wurde von einem Tool generiert.
//
// Änderungen an dieser Datei können fehlerhaftes Verhalten verursachen und gehen verloren, wenn
// der Code neu generiert wird.
// </automatisch generiert>
//------------------------------------------------------------------------------
namespace QW2021C.Resultate
{
public partial class Check_Duplicata
{
/// <summary>
/// Diszplingrid-Steuerelement
/// </summary>
/// <remarks>
/// Automatisch generiertes Feld
/// Zum Ändern Felddeklaration aus der Designerdatei in eine Code-Behind-Datei verschieben.
/// </remarks>
protected global::Syncfusion.JavaScript.Web.Grid Diszplingrid;
/// <summary>
/// SqlDataSource1-Steuerelement
/// </summary>
/// <remarks>
/// Automatisch generiertes Feld
/// Zum Ändern Felddeklaration aus der Designerdatei in eine Code-Behind-Datei verschieben.
/// </remarks>
protected global::System.Web.UI.WebControls.SqlDataSource SqlDataSource1;
}
}

View File

@@ -15,21 +15,12 @@ namespace QW2021C.Resultate
{
/// <summary>
/// Diszplingrid-Steuerelement
/// GridAthleten-Steuerelement
/// </summary>
/// <remarks>
/// Automatisch generiertes Feld
/// Zum Ändern Felddeklaration aus der Designerdatei in eine Code-Behind-Datei verschieben.
/// </remarks>
protected global::Syncfusion.JavaScript.Web.Grid Diszplingrid;
/// <summary>
/// SqlDataSource1-Steuerelement
/// </summary>
/// <remarks>
/// Automatisch generiertes Feld
/// Zum Ändern Felddeklaration aus der Designerdatei in eine Code-Behind-Datei verschieben.
/// </remarks>
protected global::System.Web.UI.WebControls.SqlDataSource SqlDataSource1;
protected global::Syncfusion.JavaScript.Web.Grid GridAthleten;
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -13,7 +13,7 @@
<connectionStrings>
<add name="DefaultConnection" connectionString="Data Source=(LocalDb)\MSSQLLocalDB;AttachDbFilename=|DataDirectory|\aspnet-QW2021C-20151013053016.mdf;Initial Catalog=aspnet-QW2021C-20151013053016;Integrated Security=True" providerName="System.Data.SqlClient"/>
<add name="NORTHWNDConnectionString" connectionString="Data Source=(LocalDB)\v11.0;AttachDbFilename=|DataDirectory|\NORTHWND.MDF;Integrated Security=True" providerName="System.Data.SqlClient"/>
<add name="QWToolConnectionstring" connectionString="Data Source=shu00;Initial Catalog=qw2021;User ID=sa;Password=*shu29" providerName="System.Data.SqlClient"/>
<add name="QWToolConnectionstring" connectionString="Data Source=shu00;Initial Catalog=qw2021_prod;User ID=sa;Password=*shu29" providerName="System.Data.SqlClient"/>
</connectionStrings>
<appSettings>
<add key="PageInspector:ServerCodeMappingSupport" value="Disabled"/>

71359
Workdir/07072021101840_Rpt.xml Normal file

File diff suppressed because it is too large Load Diff

71413
Workdir/07072021102235_Rpt.xml Normal file

File diff suppressed because it is too large Load Diff

71359
Workdir/07072021124050_Rpt.xml Normal file

File diff suppressed because it is too large Load Diff

70751
Workdir/07072021124558_Rpt.xml Normal file

File diff suppressed because it is too large Load Diff

32258
Workdir/08062021082828_Rpt.xml Normal file

File diff suppressed because it is too large Load Diff

32258
Workdir/08062021105055_Rpt.xml Normal file

File diff suppressed because it is too large Load Diff

38147
Workdir/22062021074330_Rpt.xml Normal file

File diff suppressed because it is too large Load Diff

54666
Workdir/22062021085029_Rpt.xml Normal file

File diff suppressed because it is too large Load Diff

54698
Workdir/22062021103701_Rpt.xml Normal file

File diff suppressed because it is too large Load Diff

54664
Workdir/22062021110856_Rpt.xml Normal file

File diff suppressed because it is too large Load Diff

32258
Workdir/24062021125100_Rpt.xml Normal file

File diff suppressed because it is too large Load Diff

54783
Workdir/24062021125123_Rpt.xml Normal file

File diff suppressed because it is too large Load Diff