Update Dashboar nach AbalusImport

This commit is contained in:
shu
2022-03-08 18:43:40 +01:00
parent 8c9795efc6
commit 9215ce0675
8 changed files with 2969481 additions and 4 deletions
-2
View File
@@ -122,8 +122,6 @@ namespace QW2021C.Administration
int vereine = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0][0]);
this.lblathleten.Text = athleten.ToString();
this.lblvereine.Text = vereine.ToString();
}
}
}
+28
View File
@@ -688,5 +688,33 @@ public class clsDB
}
public string get_importstatistik()
{
SqlConnection myConnection = new SqlConnection(this.Connectionstring);
SqlCommand myCommand = new SqlCommand("dbo.sp_import_statistik", myConnection);
myCommand.Parameters.Add("@fnkt", SqlDbType.Int, 4);
myCommand.Parameters[0].Value = 1;
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)
{
}
finally
{
if (myConnection.State == ConnectionState.Open)
myConnection.Close();
}
return dsdaten.Tables[0].Rows[0][0].ToString();
}
}
+1
View File
@@ -16,6 +16,7 @@ namespace QW2021C
this.lblHeader.Text = db.dsdaten.Tables[0].Rows[0]["CenterTitle"].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();
}
}
}
+14 -2
View File
@@ -1,12 +1,16 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.28407.52
# Visual Studio Version 17
VisualStudioVersion = 17.1.32210.238
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "QW2021C", "QW2021C.csproj", "{1FC10A94-F028-4DB2-AD48-F0F18234A4A2}"
EndProject
Project("{00D1A9C2-B5F0-4AF3-8072-F6C62B433612}") = "QWDB2021", "..\QWDB2021\QWDB2021.sqlproj", "{462FDF0F-C822-41D2-AFD5-40629F20B7B9}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TransferStammdaten", "..\TransferStammdaten\TransferStammdaten.csproj", "{C5194EF7-C2E5-4711-B224-DD1CD9183079}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AlabusTransfer", "..\AlabusTransfer\AlabusTransfer.csproj", "{42E33F05-D798-4F84-A594-12B713EC8AE7}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -23,6 +27,14 @@ Global
{462FDF0F-C822-41D2-AFD5-40629F20B7B9}.Release|Any CPU.ActiveCfg = Release|Any CPU
{462FDF0F-C822-41D2-AFD5-40629F20B7B9}.Release|Any CPU.Build.0 = Release|Any CPU
{462FDF0F-C822-41D2-AFD5-40629F20B7B9}.Release|Any CPU.Deploy.0 = Release|Any CPU
{C5194EF7-C2E5-4711-B224-DD1CD9183079}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C5194EF7-C2E5-4711-B224-DD1CD9183079}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C5194EF7-C2E5-4711-B224-DD1CD9183079}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C5194EF7-C2E5-4711-B224-DD1CD9183079}.Release|Any CPU.Build.0 = Release|Any CPU
{42E33F05-D798-4F84-A594-12B713EC8AE7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{42E33F05-D798-4F84-A594-12B713EC8AE7}.Debug|Any CPU.Build.0 = Debug|Any CPU
{42E33F05-D798-4F84-A594-12B713EC8AE7}.Release|Any CPU.ActiveCfg = Release|Any CPU
{42E33F05-D798-4F84-A594-12B713EC8AE7}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
File diff suppressed because it is too large Load Diff
Binary file not shown.
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff