update 20241206
This commit is contained in:
@@ -32,14 +32,22 @@ namespace OnDoc.UIControls
|
||||
}
|
||||
public void Update_Werte(string dokumentid)
|
||||
{
|
||||
if (dokumentid == "")
|
||||
{
|
||||
sfDataGrid1.DataSource = null;
|
||||
return;
|
||||
}
|
||||
|
||||
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;
|
||||
sfDataGrid1.Columns[0].Width = 120;
|
||||
sfDataGrid1.Columns[1].Width = 170;
|
||||
|
||||
}
|
||||
|
||||
private void sfDataGrid1_KeyUp(object sender, KeyEventArgs e)
|
||||
|
||||
Reference in New Issue
Block a user