update 20241206

This commit is contained in:
Stefan Hutter
2024-12-06 21:38:12 +01:00
parent 9dccb8be8f
commit 8ade484063
187 changed files with 60608 additions and 705 deletions

View File

@@ -8,9 +8,11 @@ using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using OnDoc.Klassen;
using Syncfusion.Data;
using Syncfusion.Windows.Forms.Grid;
using Syncfusion.Windows.Forms.Tools;
using Syncfusion.WinForms.Controls;
using Syncfusion.WinForms.DataGrid;
namespace OnDoc.UIControls.Administrator
{
@@ -54,6 +56,8 @@ namespace OnDoc.UIControls.Administrator
db.Get_Tabledata_for_Update("Select * from " + tableBottom, false, true);
GridTableBottom.DataSource=db.daten.Tables[0];
GridTableBottom.Columns["aktiv"].FilterPredicates.Add(new FilterPredicate() { FilterType = FilterType.Equals, FilterValue = "True" });
}
@@ -73,7 +77,9 @@ namespace OnDoc.UIControls.Administrator
data[2] = selected_right;
db.daten.Tables[0].Rows.Add(data);
db.Update_Data();
db.daten.Tables.Clear();
db.Get_Tabledata_for_Update("Select * from " + tableBottom, false, true);
GridTableBottom.DataSource = null;
GridTableBottom.DataSource = db.daten.Tables[0];
}