update 20241206
This commit is contained in:
@@ -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];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user