Update Dashboar nach AbalusImport
This commit is contained in:
@@ -122,8 +122,6 @@ namespace QW2021C.Administration
|
|||||||
int vereine = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0][0]);
|
int vereine = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0][0]);
|
||||||
this.lblathleten.Text = athleten.ToString();
|
this.lblathleten.Text = athleten.ToString();
|
||||||
this.lblvereine.Text = vereine.ToString();
|
this.lblvereine.Text = vereine.ToString();
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -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();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ namespace QW2021C
|
|||||||
this.lblHeader.Text = db.dsdaten.Tables[0].Rows[0]["CenterTitle"].ToString();
|
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 = db.dsdaten.Tables[0].Rows[0]["Rightnews"].ToString();
|
||||||
|
this.lblnews.Text = this.lblnews.Text + db.get_importstatistik();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
16
QW2021C.sln
16
QW2021C.sln
@@ -1,12 +1,16 @@
|
|||||||
|
|
||||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
# Visual Studio Version 16
|
# Visual Studio Version 17
|
||||||
VisualStudioVersion = 16.0.28407.52
|
VisualStudioVersion = 17.1.32210.238
|
||||||
MinimumVisualStudioVersion = 10.0.40219.1
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "QW2021C", "QW2021C.csproj", "{1FC10A94-F028-4DB2-AD48-F0F18234A4A2}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "QW2021C", "QW2021C.csproj", "{1FC10A94-F028-4DB2-AD48-F0F18234A4A2}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{00D1A9C2-B5F0-4AF3-8072-F6C62B433612}") = "QWDB2021", "..\QWDB2021\QWDB2021.sqlproj", "{462FDF0F-C822-41D2-AFD5-40629F20B7B9}"
|
Project("{00D1A9C2-B5F0-4AF3-8072-F6C62B433612}") = "QWDB2021", "..\QWDB2021\QWDB2021.sqlproj", "{462FDF0F-C822-41D2-AFD5-40629F20B7B9}"
|
||||||
EndProject
|
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
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
Debug|Any CPU = Debug|Any CPU
|
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.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.Build.0 = Release|Any CPU
|
||||||
{462FDF0F-C822-41D2-AFD5-40629F20B7B9}.Release|Any CPU.Deploy.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
|
EndGlobalSection
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
HideSolutionNode = FALSE
|
HideSolutionNode = FALSE
|
||||||
|
|||||||
2503072
Upload/transfer/DataDownload
Normal file
2503072
Upload/transfer/DataDownload
Normal file
File diff suppressed because it is too large
Load Diff
BIN
Upload/transfer/DataDownload.gz
Normal file
BIN
Upload/transfer/DataDownload.gz
Normal file
Binary file not shown.
461183
Upload/transfer/athlete.xml
Normal file
461183
Upload/transfer/athlete.xml
Normal file
File diff suppressed because it is too large
Load Diff
5183
Upload/transfer/verein.xml
Normal file
5183
Upload/transfer/verein.xml
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user