diff --git a/Administration/AdminTeilnehmer.aspx b/Administration/AdminTeilnehmer.aspx index 55532a5..f244ed3 100644 --- a/Administration/AdminTeilnehmer.aspx +++ b/Administration/AdminTeilnehmer.aspx @@ -3,11 +3,13 @@ <%@ Register Assembly="Syncfusion.EJ, Version=18.3460.0.35, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" Namespace="Syncfusion.JavaScript.Models" TagPrefix="ej" %> <%@ Register Src="~/Menu/Menu.ascx" TagPrefix="shu" TagName="Menu" %> +<%@ Register assembly="Syncfusion.EJ" namespace="Syncfusion.JavaScript.Models" tagprefix="ej" %> +

Teilnehmer-Erfassung

@@ -78,7 +80,7 @@ Achtung - + @@ -120,6 +122,7 @@ + @@ -150,8 +153,21 @@ + + +
diff --git a/Administration/AdminTeilnehmer.aspx.designer.cs b/Administration/AdminTeilnehmer.aspx.designer.cs index 71863be..72145b1 100644 --- a/Administration/AdminTeilnehmer.aspx.designer.cs +++ b/Administration/AdminTeilnehmer.aspx.designer.cs @@ -15,82 +15,82 @@ namespace QW2021C.Administration { /// - /// SqlDataSource1-Steuerelement + /// SqlDataSource1-Steuerelement. /// /// - /// Automatisch generiertes Feld + /// Automatisch generiertes Feld. /// Zum Ändern Felddeklaration aus der Designerdatei in eine Code-Behind-Datei verschieben. /// protected global::System.Web.UI.WebControls.SqlDataSource SqlDataSource1; /// - /// SqlDataSource2-Steuerelement + /// SqlDataSource2-Steuerelement. /// /// - /// Automatisch generiertes Feld + /// Automatisch generiertes Feld. /// Zum Ändern Felddeklaration aus der Designerdatei in eine Code-Behind-Datei verschieben. /// protected global::System.Web.UI.WebControls.SqlDataSource SqlDataSource2; /// - /// SqlDataSource3-Steuerelement + /// SqlDataSource3-Steuerelement. /// /// - /// Automatisch generiertes Feld + /// Automatisch generiertes Feld. /// Zum Ändern Felddeklaration aus der Designerdatei in eine Code-Behind-Datei verschieben. /// protected global::System.Web.UI.WebControls.SqlDataSource SqlDataSource3; /// - /// SqlDataSource4-Steuerelement + /// SqlDataSource4-Steuerelement. /// /// - /// Automatisch generiertes Feld + /// Automatisch generiertes Feld. /// Zum Ändern Felddeklaration aus der Designerdatei in eine Code-Behind-Datei verschieben. /// protected global::System.Web.UI.WebControls.SqlDataSource SqlDataSource4; /// - /// SqlDataSource5-Steuerelement + /// SqlDataSource5-Steuerelement. /// /// - /// Automatisch generiertes Feld + /// Automatisch generiertes Feld. /// Zum Ändern Felddeklaration aus der Designerdatei in eine Code-Behind-Datei verschieben. /// protected global::System.Web.UI.WebControls.SqlDataSource SqlDataSource5; /// - /// Panel1-Steuerelement + /// Panel1-Steuerelement. /// /// - /// Automatisch generiertes Feld + /// Automatisch generiertes Feld. /// Zum Ändern Felddeklaration aus der Designerdatei in eine Code-Behind-Datei verschieben. /// protected global::System.Web.UI.WebControls.Panel Panel1; /// - /// Fehlergrid-Steuerelement + /// Fehlergrid-Steuerelement. /// /// - /// Automatisch generiertes Feld + /// Automatisch generiertes Feld. /// Zum Ändern Felddeklaration aus der Designerdatei in eine Code-Behind-Datei verschieben. /// protected global::Syncfusion.JavaScript.Web.Grid Fehlergrid; /// - /// Button1-Steuerelement + /// Button1-Steuerelement. /// /// - /// Automatisch generiertes Feld + /// Automatisch generiertes Feld. /// Zum Ändern Felddeklaration aus der Designerdatei in eine Code-Behind-Datei verschieben. /// protected global::Syncfusion.JavaScript.Web.Button Button1; /// - /// Grid1-Steuerelement + /// Grid1-Steuerelement. /// /// - /// Automatisch generiertes Feld + /// Automatisch generiertes Feld. /// Zum Ändern Felddeklaration aus der Designerdatei in eine Code-Behind-Datei verschieben. /// protected global::Syncfusion.JavaScript.Web.Grid Grid1; diff --git a/Database/clsdb.cs b/Database/clsdb.cs index 72acfce..c60136c 100644 --- a/Database/clsdb.cs +++ b/Database/clsdb.cs @@ -69,8 +69,8 @@ public class clsDB } } public DataSet Get_Tabledata(int sqlscriptnumber, string vereinnr, int userid) - { - Get_Tabledata("Select sqlscript from sqlqueries where sqlscriptnumber=" + sqlscriptnumber.ToString(),false,true); + { + Get_Tabledata("Select sqlscript from sqlqueries where sqlscriptnumber=" + sqlscriptnumber.ToString(), false, true); string sql = dsdaten.Tables[0].Rows[0][0].ToString(); dsdaten.Tables.Clear(); sql = sql.Replace("@vereinnr", vereinnr); @@ -199,7 +199,7 @@ public class clsDB // Menutype = 3 Then // sqlcmd.CommandText = "Select * from web_menu where mandanttype>=" + mandanttyp.ToString + " and aktiv=1 and menutext<>'Schüler' and ( menutype=10 or menutype=1 or menutype = " + Menutype.ToString + ") order by menutype, sort" // Else - if (loggedoffmenu==true) + if (loggedoffmenu == true) { sqlcmd.CommandText = "Select * from web_menu where aktiv=1 and ( menutype=100 or menutype=1 or menutype = " + Menutype.ToString() + ") order by menutype, sort"; @@ -412,14 +412,14 @@ public class clsDB } catch (Exception ex) { - + } finally { if (myConnection.State == ConnectionState.Open) myConnection.Close(); } - + } public void truncate_table(string tablename) @@ -449,7 +449,7 @@ public class clsDB { SqlConnection myConnection = new SqlConnection(this.Connectionstring); SqlCommand myCommand = new SqlCommand("[dbo].[Migrate_TAF_Import]", myConnection); - // if (deldata == "False") ortnr = "0"; + // if (deldata == "False") ortnr = "0"; myCommand.Parameters.Add(new SqlParameter("@ortnr", SqlDbType.Int, 3, ParameterDirection.Input, true, 10, 0, "", DataRowVersion.Proposed, ortnr)); myCommand.Parameters.Add(new SqlParameter("@return", SqlDbType.Int, 3, ParameterDirection.Output, true, 10, 0, "", DataRowVersion.Proposed, 0)); myCommand.Parameters.Add(new SqlParameter("@statistics", SqlDbType.VarChar, 8096, ParameterDirection.Output, true, 10, 0, "", DataRowVersion.Proposed, "")); @@ -463,7 +463,7 @@ public class clsDB } catch (Exception ex) { - return "Fehler:"+ex.Message; + return "Fehler:" + ex.Message; } finally { @@ -477,7 +477,7 @@ public class clsDB truncate_table("base_account_import"); String Filter = ConfigurationSettings.AppSettings["VereinFilter"]; string[] filters = Filter.Split(','); - Get_Tabeldata_for_Update ("Select * from base_account_import",false,true); + Get_Tabeldata_for_Update("Select * from base_account_import", false, true); DataSet verein = new DataSet(); verein.ReadXml(targetfolder + "\\verein.xml"); foreach (DataRow r in verein.Tables[0].Rows) @@ -485,7 +485,7 @@ public class clsDB DataRow rn = dsdaten.Tables[0].NewRow(); Boolean useit; useit = false; - foreach(var filt in filters) + foreach (var filt in filters) { if (r["accountcode"].ToString().IndexOf(filt) > 0) useit = true; @@ -493,12 +493,12 @@ public class clsDB if (useit == true) { - rn["account_code"] = r["accountCode"]; - rn["account_name"] = r["accountName"]; - rn["account_short"] = r["accountShort"]; - rn["account_type"] = r["accountType"]; - rn["lg"] = r["lg"]; - dsdaten.Tables[0].Rows.Add(rn); + rn["account_code"] = r["accountCode"]; + rn["account_name"] = r["accountName"]; + rn["account_short"] = r["accountShort"]; + rn["account_type"] = r["accountType"]; + rn["lg"] = r["lg"]; + dsdaten.Tables[0].Rows.Add(rn); } } @@ -518,15 +518,15 @@ public class clsDB foreach (DataRow r in unicodes.Rows) { - + int ascii = (int)c; if (ascii == Convert.ToInt32(r[0])) { res1 = r[1].ToString(); } } - if (res1=="") - { + if (res1 == "") + { res = res + c.ToString(); } else @@ -561,7 +561,7 @@ public class clsDB } if (useit == true) { - + Get_Tabeldata_for_Update("Select * from base_athlete where license=" + r["license"].ToString(), false, true); if (dsdaten.Tables[0].Rows.Count == 0) { @@ -576,11 +576,11 @@ public class clsDB // r["Lastname"] = decoded; //} - r["lastname"] = get_unicode(r["lastname"].ToString(),unicodes); - r["firstname"] = get_unicode(r["firstname"].ToString(),unicodes); + r["lastname"] = get_unicode(r["lastname"].ToString(), unicodes); + r["firstname"] = get_unicode(r["firstname"].ToString(), unicodes); rn["lastname"] = r["lastname"]; rn["firstname"] = r["firstname"]; - rn["birth_date"] = r["birthdate"].ToString().Substring(3,2)+"."+ r["birthdate"].ToString().Substring(0, 2) + "."+r["birthdate"].ToString().Substring(6, 4); + rn["birth_date"] = r["birthdate"].ToString().Substring(3, 2) + "." + r["birthdate"].ToString().Substring(0, 2) + "." + r["birthdate"].ToString().Substring(6, 4); rn["sex"] = r["sex"]; rn["nationality"] = r["nationality"]; rn["account_code"] = r["accountcode"]; @@ -595,25 +595,25 @@ public class clsDB else { DataRow rn = dsdaten.Tables[0].NewRow(); - - //string a = ""; - //ASCIIEncoding ascii = new ASCIIEncoding(); - //Byte[] bytes = ascii.GetBytes(r["Lastname"].ToString()); - //String decoded = ascii.GetString(bytes); - //if (decoded.IndexOf("o?in")>-1) - //{ - // decoded = decoded.Replace("o?in", "ošin"); - // r["Lastname"] = decoded; - //} + + //string a = ""; + //ASCIIEncoding ascii = new ASCIIEncoding(); + //Byte[] bytes = ascii.GetBytes(r["Lastname"].ToString()); + //String decoded = ascii.GetString(bytes); + //if (decoded.IndexOf("o?in")>-1) + //{ + // decoded = decoded.Replace("o?in", "ošin"); + // r["Lastname"] = decoded; + //} if (r["License"].ToString() == "173471") { string a = ""; } - r["lastname"] = get_unicode(r["lastname"].ToString(),unicodes); - r["firstname"] = get_unicode(r["firstname"].ToString(),unicodes); + r["lastname"] = get_unicode(r["lastname"].ToString(), unicodes); + r["firstname"] = get_unicode(r["firstname"].ToString(), unicodes); dsdaten.Tables[0].Rows[0]["lastname"] = r["lastname"]; - + dsdaten.Tables[0].Rows[0]["firstname"] = r["firstname"]; dsdaten.Tables[0].Rows[0]["birth_date"] = r["birthdate"].ToString().Substring(3, 2) + "." + r["birthdate"].ToString().Substring(0, 2) + "." + r["birthdate"].ToString().Substring(6, 4); ; dsdaten.Tables[0].Rows[0]["sex"] = r["sex"]; @@ -717,4 +717,43 @@ public class clsDB return dsdaten.Tables[0].Rows[0][0].ToString(); } + public void merge_athlete(int id_athlete, int teilnehmernr, string lizenz) + { + Get_Tabeldata_for_Update("Select * from teilnehmer where teilnehmernr=" + teilnehmernr.ToString(), false, true); + DataRow r = dsdaten.Tables[0].Rows[0]; + r["base_lizenz"] = lizenz; + Update_Tabeldata(); + } + + public int zusammenlegung(string verein) + { + SqlConnection myConnection = new SqlConnection(this.Connectionstring); + SqlCommand myCommand = new SqlCommand("dbo.sp_mergeathleten", myConnection); + myCommand.Parameters.Add("@fnkt", SqlDbType.Int, 4); + myCommand.Parameters.Add("@Verein", SqlDbType.VarChar, 255); + myCommand.Parameters[0].Value = 0; + myCommand.Parameters[1].Value = verein; + myCommand.CommandType = CommandType.StoredProcedure; + myCommand.CommandTimeout = 600; + + SqlDataAdapter da = new SqlDataAdapter(myCommand); + dsdaten.Tables.Clear(); + try + { + myConnection.Open(); + da.Fill(dsdaten, "Daten"); + //myCommand.ExecuteNonQuery(); + } + catch (Exception ex) + { + return 0; + } + finally + { + if (myConnection.State == ConnectionState.Open) + myConnection.Close(); + } + return dsdaten.Tables[0].Rows.Count; + } + } diff --git a/Default.aspx b/Default.aspx index 9dff3fb..fcc3f45 100644 --- a/Default.aspx +++ b/Default.aspx @@ -22,6 +22,9 @@ padding-bottom:50px; }

+

+ +

diff --git a/Default.aspx.cs b/Default.aspx.cs index 3cd4b45..6fb2d63 100644 --- a/Default.aspx.cs +++ b/Default.aspx.cs @@ -11,12 +11,17 @@ namespace QW2021C { protected void Page_Load(object sender, EventArgs e) { + this.lblHeader3.Text = ""; clsDB db = new clsDB(); db.Get_Tabledata("Select * from applikation", false, true); this.lblHeader.Text = db.dsdaten.Tables[0].Rows[0]["CenterTitle"].ToString(); - this.lblheader2.Text= db.dsdaten.Tables[0].Rows[0]["CenterText"].ToString(); + this.lblheader2.Text = db.dsdaten.Tables[0].Rows[0]["CenterText"].ToString(); this.lblnews.Text = db.dsdaten.Tables[0].Rows[0]["Rightnews"].ToString(); this.lblnews.Text = this.lblnews.Text + db.get_importstatistik(); + + + + } } -} \ No newline at end of file +} diff --git a/Default.aspx.designer.cs b/Default.aspx.designer.cs index 369e007..3f082ec 100644 --- a/Default.aspx.designer.cs +++ b/Default.aspx.designer.cs @@ -15,28 +15,37 @@ namespace QW2021C { /// - /// lblHeader-Steuerelement + /// lblHeader-Steuerelement. /// /// - /// Automatisch generiertes Feld + /// Automatisch generiertes Feld. /// Zum Ändern Felddeklaration aus der Designerdatei in eine Code-Behind-Datei verschieben. /// protected global::System.Web.UI.WebControls.Label lblHeader; /// - /// lblheader2-Steuerelement + /// lblheader2-Steuerelement. /// /// - /// Automatisch generiertes Feld + /// Automatisch generiertes Feld. /// Zum Ändern Felddeklaration aus der Designerdatei in eine Code-Behind-Datei verschieben. /// protected global::System.Web.UI.WebControls.Label lblheader2; /// - /// lblnews-Steuerelement + /// lblHeader3-Steuerelement. /// /// - /// Automatisch generiertes Feld + /// Automatisch generiertes Feld. + /// Zum Ändern Felddeklaration aus der Designerdatei in eine Code-Behind-Datei verschieben. + /// + protected global::System.Web.UI.WebControls.Label lblHeader3; + + /// + /// lblnews-Steuerelement. + /// + /// + /// Automatisch generiertes Feld. /// Zum Ändern Felddeklaration aus der Designerdatei in eine Code-Behind-Datei verschieben. /// protected global::System.Web.UI.WebControls.Label lblnews; diff --git a/Downloads/100320220648SS_AlleAnmeldungen.xlsx b/Downloads/100320220648SS_AlleAnmeldungen.xlsx new file mode 100644 index 0000000..f240201 Binary files /dev/null and b/Downloads/100320220648SS_AlleAnmeldungen.xlsx differ diff --git a/Downloads/100320220654SS_AlleAnmeldungen.xlsx b/Downloads/100320220654SS_AlleAnmeldungen.xlsx new file mode 100644 index 0000000..21a1f28 Binary files /dev/null and b/Downloads/100320220654SS_AlleAnmeldungen.xlsx differ diff --git a/Downloads/100320220654SS_Anmeldungen.xlsx b/Downloads/100320220654SS_Anmeldungen.xlsx new file mode 100644 index 0000000..c6b06f3 Binary files /dev/null and b/Downloads/100320220654SS_Anmeldungen.xlsx differ diff --git a/Downloads/100320220700SS_AlleAnmeldungen.xlsx b/Downloads/100320220700SS_AlleAnmeldungen.xlsx new file mode 100644 index 0000000..4bb4070 Binary files /dev/null and b/Downloads/100320220700SS_AlleAnmeldungen.xlsx differ diff --git a/MAthlete/MergeAthlethen.aspx b/MAthlete/MergeAthlethen.aspx new file mode 100644 index 0000000..6b3e298 --- /dev/null +++ b/MAthlete/MergeAthlethen.aspx @@ -0,0 +1,78 @@ +<%@ Page Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="MergeAthlethen.aspx.cs" Inherits="QW2021C.Administration.MergeAthlethen" %> + +<%@ 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" %> + + +

Zusammenführung nicht lizenzierte Teilnehmer / lizenzierte Athleten

+ + + + + + + + + + + + + + + + + + + + + + + + + +<%-- + + + + + + + + + + + --%> + + + + + + + + + + + + + + + + + + + + +
diff --git a/MAthlete/MergeAthlethen.aspx.cs b/MAthlete/MergeAthlethen.aspx.cs new file mode 100644 index 0000000..f2538ef --- /dev/null +++ b/MAthlete/MergeAthlethen.aspx.cs @@ -0,0 +1,94 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace QW2021C.Administration +{ + public partial class MergeAthlethen : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + { + + try + { + if (Session["LoggedIn"].ToString() == "False") + { + Response.Redirect("~/default.aspx"); + return; + } + } + catch + { + Response.Redirect("~/default.aspx"); + return; + + } + SqlDataSource1.SelectParameters["fnkt"].DefaultValue = "0"; + if (Session["Admin"] == "True") + { + SqlDataSource1.SelectParameters["verein"].DefaultValue = "ALL"; + } + else + { + SqlDataSource1.SelectParameters["verein"].DefaultValue = Session["Username"].ToString(); + } + //Grid1.DataBind(); + //SqlDataSource1.DataBind(); + } + + + //sqldatasource1.selectparameters("UserID").DefaultValue = "whatever you want" + } + + + protected void Grid1_ServerCommandButtonClick(object sender, Syncfusion.JavaScript.Web.GridEventArgs e) + { + Dictionary keyVals = e.Arguments["data"] as Dictionary; + int id_athlete = 0; + int teilnehemernr = 0; + string license = ""; + string base_lizenz = ""; + + foreach (KeyValuePair keyval in keyVals) + { + if (keyval.Key == "id_athlete") + { + id_athlete = Convert.ToInt32(keyval.Value); + } + if (keyval.Key == "Teilnehmernr") + { + teilnehemernr = Convert.ToInt32(keyval.Value); + } + if (keyval.Key == "license") + { + license = keyval.Value.ToString(); + } + if (keyval.Key == "license") + { + license = keyval.Value.ToString(); + } + if (keyval.Key== "base_lizenz") + { + base_lizenz = keyval.Value.ToString(); + } + + + } + if (teilnehemernr != 0 && id_athlete != 0 && license != "") + { + clsDB db = new clsDB(); + if (base_lizenz != "") + { + license = ""; + } + db.merge_athlete(id_athlete, teilnehemernr, license); + } + + } + } + +} \ No newline at end of file diff --git a/MAthlete/MergeAthlethen.aspx.designer.cs b/MAthlete/MergeAthlethen.aspx.designer.cs new file mode 100644 index 0000000..9461c5c --- /dev/null +++ b/MAthlete/MergeAthlethen.aspx.designer.cs @@ -0,0 +1,35 @@ +//------------------------------------------------------------------------------ +// +// 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. +// +//------------------------------------------------------------------------------ + +namespace QW2021C.Administration +{ + + + public partial class MergeAthlethen + { + + /// + /// Grid1-Steuerelement. + /// + /// + /// Automatisch generiertes Feld. + /// Zum Ändern Felddeklaration aus der Designerdatei in eine Code-Behind-Datei verschieben. + /// + protected global::Syncfusion.JavaScript.Web.Grid Grid1; + + /// + /// SqlDataSource1-Steuerelement. + /// + /// + /// Automatisch generiertes Feld. + /// Zum Ändern Felddeklaration aus der Designerdatei in eine Code-Behind-Datei verschieben. + /// + protected global::System.Web.UI.WebControls.SqlDataSource SqlDataSource1; + } +} diff --git a/Menu/Menu.ascx b/Menu/Menu.ascx index c59b85a..90c6fc7 100644 --- a/Menu/Menu.ascx +++ b/Menu/Menu.ascx @@ -19,6 +19,7 @@ +
@@ -39,6 +40,8 @@
+
Allfällige Zusammenlegung 'Nicht lizenzierte Teilnehmenr' und 'lizenzierte Athleten' prüfen +(hier)
<%-- diff --git a/Menu/Menu.ascx.cs b/Menu/Menu.ascx.cs index 29324a7..a62eb67 100644 --- a/Menu/Menu.ascx.cs +++ b/Menu/Menu.ascx.cs @@ -16,11 +16,19 @@ namespace QW2021C.Menu { try { - String Admintest = ConfigurationSettings.AppSettings["Admintest"]; - if (Admintest=="True") + string AutoLogin = ConfigurationSettings.AppSettings["AutoLogin"]; + if (AutoLogin == "True") { - //login("usertest", "usertest"); + login(ConfigurationSettings.AppSettings["User"], ConfigurationSettings.AppSettings["Password"]); } + + + + //String Admintest = ConfigurationSettings.AppSettings["Admintest"]; + //if (Admintest=="True") + //{ + // login(ConfigurationSettings.AppSettings["User"], ConfigurationSettings.AppSettings["Password"]); + //} } catch { } @@ -41,8 +49,20 @@ namespace QW2021C.Menu Session["Username"] = ""; } //if (Session["LoggedIn"].ToString() == "true") - //login("a", "a"); + //login("a", "a"); + try + { + if ((Session["LoggedIn"].ToString() == "True") && (Session["Admin"] != "True")) + { + clsDB xdb = new clsDB(); + if (xdb.zusammenlegung(Session["Username"].ToString()) > 0) + { + this.lblHeader3.Text = "Bitte prüfen Sie, ob allfällige Zusammenlegungen von 'Nicht lizenzierten Teilnehmenr' und lizenzierten Teilnehmern möglich sind"; + } + } + } + catch { } try { // If Page.IsPostBack Then Exit Sub @@ -80,6 +100,7 @@ namespace QW2021C.Menu catch { } + } public void get_menu(string menutype) @@ -157,6 +178,22 @@ namespace QW2021C.Menu protected void Button1_Click(object Sender, Syncfusion.JavaScript.Web.ButtonEventArgs e) { login(this.TxtUsername.Text, this.txtpassword.Text); + try + { + this.lblHeader3.Visible = false; + this.HyperLink1.Visible = false; + if ((Session["LoggedIn"].ToString() == "True") && (Session["Admin"] != "True")) + { + clsDB xdb = new clsDB(); + if (xdb.zusammenlegung(Session["Username"].ToString()) > 0) + { + this.lblHeader3.Visible = true; + this.HyperLink1.Visible = true; + } + + } + } + catch { } } public void login(string username, string password) @@ -168,7 +205,7 @@ namespace QW2021C.Menu Session["UserMail"] = "info@shub.ch.ch"; Session["UserNachname"] = "Hutter"; Session["LoggedIn"] = "True"; - Session["Admin"] = "True"; + Session["Admin"] = "True"; Session["Menuhandler"] = 11; return; } diff --git a/Menu/Menu.ascx.designer.cs b/Menu/Menu.ascx.designer.cs index 2bb6abd..2e3fd4a 100644 --- a/Menu/Menu.ascx.designer.cs +++ b/Menu/Menu.ascx.designer.cs @@ -15,75 +15,93 @@ namespace QW2021C.Menu { /// - /// Menu1-Steuerelement + /// Menu1-Steuerelement. /// /// - /// Automatisch generiertes Feld + /// Automatisch generiertes Feld. /// Zum Ändern Felddeklaration aus der Designerdatei in eine Code-Behind-Datei verschieben. /// protected global::Syncfusion.JavaScript.Web.Menu Menu1; /// - /// btnhelp-Steuerelement + /// btnhelp-Steuerelement. /// /// - /// Automatisch generiertes Feld + /// Automatisch generiertes Feld. /// Zum Ändern Felddeklaration aus der Designerdatei in eine Code-Behind-Datei verschieben. /// protected global::System.Web.UI.WebControls.HyperLink btnhelp; /// - /// PanelLogin-Steuerelement + /// PanelLogin-Steuerelement. /// /// - /// Automatisch generiertes Feld + /// Automatisch generiertes Feld. /// Zum Ändern Felddeklaration aus der Designerdatei in eine Code-Behind-Datei verschieben. /// protected global::System.Web.UI.WebControls.Panel PanelLogin; /// - /// TxtUsername-Steuerelement + /// TxtUsername-Steuerelement. /// /// - /// Automatisch generiertes Feld + /// Automatisch generiertes Feld. /// Zum Ändern Felddeklaration aus der Designerdatei in eine Code-Behind-Datei verschieben. /// protected global::System.Web.UI.WebControls.TextBox TxtUsername; /// - /// txtpassword-Steuerelement + /// txtpassword-Steuerelement. /// /// - /// Automatisch generiertes Feld + /// Automatisch generiertes Feld. /// Zum Ändern Felddeklaration aus der Designerdatei in eine Code-Behind-Datei verschieben. /// protected global::System.Web.UI.WebControls.TextBox txtpassword; /// - /// Button1-Steuerelement + /// Button1-Steuerelement. /// /// - /// Automatisch generiertes Feld + /// Automatisch generiertes Feld. /// Zum Ändern Felddeklaration aus der Designerdatei in eine Code-Behind-Datei verschieben. /// protected global::Syncfusion.JavaScript.Web.Button Button1; /// - /// PanelLoggedin-Steuerelement + /// PanelLoggedin-Steuerelement. /// /// - /// Automatisch generiertes Feld + /// Automatisch generiertes Feld. /// Zum Ändern Felddeklaration aus der Designerdatei in eine Code-Behind-Datei verschieben. /// protected global::System.Web.UI.WebControls.Panel PanelLoggedin; /// - /// Button2-Steuerelement + /// Button2-Steuerelement. /// /// - /// Automatisch generiertes Feld + /// Automatisch generiertes Feld. /// Zum Ändern Felddeklaration aus der Designerdatei in eine Code-Behind-Datei verschieben. /// protected global::Syncfusion.JavaScript.Web.Button Button2; + + /// + /// lblHeader3-Steuerelement. + /// + /// + /// Automatisch generiertes Feld. + /// Zum Ändern Felddeklaration aus der Designerdatei in eine Code-Behind-Datei verschieben. + /// + protected global::System.Web.UI.WebControls.Label lblHeader3; + + /// + /// HyperLink1-Steuerelement. + /// + /// + /// Automatisch generiertes Feld. + /// Zum Ändern Felddeklaration aus der Designerdatei in eine Code-Behind-Datei verschieben. + /// + protected global::System.Web.UI.WebControls.HyperLink HyperLink1; } } diff --git a/QW2021C.csproj b/QW2021C.csproj index ed41223..fc66c3a 100644 --- a/QW2021C.csproj +++ b/QW2021C.csproj @@ -203,6 +203,7 @@ + @@ -631,6 +632,13 @@ Kategorien.aspx + + MergeAthlethen.aspx + ASPXCodeBehind + + + MergeAthlethen.aspx + saveFilescsv.ashx diff --git a/Upload/transfer/DataDownload b/Upload/transfer/DataDownload index 94fff2d..d4a66d1 100644 --- a/Upload/transfer/DataDownload +++ b/Upload/transfer/DataDownload @@ -1,5 +1,5 @@ - + 1.LG.0043 @@ -538782,7 +538782,7 @@ 04.12.2010 W SUI -1.GE.0405 +1.GE.0401 @@ -622318,6 +622318,18 @@ + +Edimo Takoudjoun +Dehlia +09.04.2013 +W +98 +1.BE.0188 + + + + + Edougue-Kemm Nolan Eric Junior @@ -644097,6 +644109,18 @@ + +Emini +Elona +08.24.2012 +W +99 +1.SH.1101 + + + + + Emma Roberto @@ -710858,6 +710882,18 @@ + +Fischer +Malena +07.25.2007 +W +SUI +1.AG.0006 + + + + + Fischer Marco @@ -926329,6 +926365,18 @@ + +Gysi +Livio +04.10.2006 +M +SUI +1.AG.0006 + + + + + Gysi May-Madeleine @@ -1205456,7 +1205504,7 @@ - + Kobler Patrick 10.07.1993 @@ -1473590,6 +1473638,18 @@ + +Meierhans +Ariane +10.05.2011 +W +SUI +1.ILV.0737 + + + + + Meierhans Dominic @@ -1704869,6 +1704929,18 @@ + +Pervan +Ivano +11.01.2008 +M +CRO +1.SG.1041 + + + + + Perviz Aydin @@ -1840832,6 +1840904,18 @@ + +Robin +Julie +07.03.2006 +W +SUI +1.AG.0006 + + + + + Robinot Amaury @@ -1860943,7 +1861027,7 @@ 01.05.2007 M SUI -1.AG.0006 +1.TI.1509 @@ -1937964,6 +1938048,18 @@ + +Savoldi +Nicola +09.25.2006 +M +SUI +1.AG.0006 + + + + + Savoldi Sandra @@ -2420090,14 +2420186,14 @@ -000063.08 -000061.10 -000061.10 +000064.06 +000064.06 +000064.06 -000063.08 +000064.06 000053.43 diff --git a/Upload/transfer/DataDownload.gz b/Upload/transfer/DataDownload.gz index b083c9d..f69bea5 100644 Binary files a/Upload/transfer/DataDownload.gz and b/Upload/transfer/DataDownload.gz differ diff --git a/Upload/transfer/athlete.xml b/Upload/transfer/athlete.xml index dbc5bb5..3640175 100644 --- a/Upload/transfer/athlete.xml +++ b/Upload/transfer/athlete.xml @@ -88576,7 +88576,7 @@ 04.12.2010 W SUI - 1.GE.0405 + 1.GE.0401 @@ -103580,6 +103580,16 @@ + + Edimo Takoudjoun + Dehlia + 09.04.2013 + W + 98 + 1.BE.0188 + + + Edougue-Kemm Nolan Eric Junior @@ -107700,6 +107710,16 @@ + + Emini + Elona + 08.24.2012 + W + 99 + 1.SH.1101 + + + Emma Roberto @@ -120530,6 +120550,16 @@ + + Fischer + Malena + 07.25.2007 + W + SUI + 1.AG.0006 + + + Fischer Marco @@ -159710,6 +159740,16 @@ + + Gysi + Livio + 04.10.2006 + M + SUI + 1.AG.0006 + + + Gysi May-Madeleine @@ -212770,7 +212810,7 @@ - + Kobler Patrick 10.07.1993 @@ -265440,6 +265480,16 @@ + + Meierhans + Ariane + 10.05.2011 + W + SUI + 1.ILV.0737 + + + Meierhans Dominic @@ -312460,6 +312510,16 @@ + + Pervan + Ivano + 11.01.2008 + M + CRO + 1.SG.1041 + + + Perviz Aydin @@ -337200,6 +337260,16 @@ + + Robin + Julie + 07.03.2006 + W + SUI + 1.AG.0006 + + + Robinot Amaury @@ -341156,7 +341226,7 @@ 01.05.2007 M SUI - 1.AG.0006 + 1.TI.1509 @@ -354710,6 +354780,16 @@ + + Savoldi + Nicola + 09.25.2006 + M + SUI + 1.AG.0006 + + + Savoldi Sandra diff --git a/Web.config b/Web.config index 3e05627..5238257 100644 --- a/Web.config +++ b/Web.config @@ -26,9 +26,15 @@ - - - + + + + + + + +