Update Version 1.0.0.32

This commit is contained in:
2021-04-30 12:44:36 +02:00
parent 1d03682162
commit 6b930d93ab
59 changed files with 50504 additions and 63 deletions

View File

@@ -97,8 +97,24 @@ namespace QW2021C.Resultate
rn[25] = 0;
db.dsdaten.Tables[0].Rows.Add(rn);
}
string result = "";
db.Update_Tabeldata();
db.migrate_taf_resultate(this.hiddenortnr.Value, this.hiddendeletedata.Value);
result=db.migrate_taf_resultate(this.hiddenortnr.Value, this.hiddendeletedata.Value);
this.lblimporterror.Text = "";
if (result.Substring(0, 5) == "Fehl")
{
this.lblimporterror.Text = "Achtung - beim Import sind fehler aufgetreten. Bitte prüfen?";
}
else
{
var json = result;
var res = json.Trim('{', '}').Split(',').Select(x => x.Split('=')).ToDictionary(x => x[0], x => int.Parse(x[1]));
this.lblstatistik.Text = string.Join("\r\n", res.Select(x => x.Key + " : " + x.Value+"<br>"));
}
this.Tab1.SelectedItemIndex = 3;