update 20241202
This commit is contained in:
37
Client/UIControls/Dokwerte.cs
Normal file
37
Client/UIControls/Dokwerte.cs
Normal file
@@ -0,0 +1,37 @@
|
||||
using Database;
|
||||
using OnDoc.Klassen;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace OnDoc.UIControls
|
||||
{
|
||||
public partial class Dokwerte : UserControl
|
||||
{
|
||||
public Dokwerte()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void toolStrip1_ItemClicked(object sender, ToolStripItemClickedEventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public void Update_Werte(string dokumentid)
|
||||
{
|
||||
DB db = new DB(AppParams.connectionstring);
|
||||
db.clear_parameter();
|
||||
db.add_parameter("@dokumentid", dokumentid);
|
||||
db.Get_Tabledata("sp_ondoc_get_dokumentdetails", true, false);
|
||||
this.sfDataGrid1.DataSource = db.dsdaten.Tables[0];
|
||||
db = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user