update 20241204

This commit is contained in:
Stefan Hutter
2024-12-04 21:29:04 +01:00
parent 9c0f9cd3b9
commit 9dccb8be8f
34 changed files with 256 additions and 92 deletions

View File

@@ -274,6 +274,28 @@ namespace OnDoc.UIControls.Administrator
private void toolStripButton1_Click(object sender, EventArgs e)
{
Database.DB db = new Database.DB(AppParams.connectionstring);
db.Get_Tabledata_for_Update("Select * from office_vorlage where office_vorlagenr = " + TreeOfficeVorlagen.SelectedNode.Tag.ToString(),false,true);
DataRow r = db.daten.Tables[0].Rows[0];
r["bezeichnung"] = txtBezeichnung.Text;
r["beschreibung"] = txtBeschreibung.Text;
r["Version"] = txtVersion.Text;
r["prefix_dokumentname"] = txtPräfix.Text;
r["kopfzeile_generieren"] = chkKopfzeile.Checked;
r["bcpt"] = txtBcTop.Text;
r["bcpl"] = txtBcLeft.Text;
r["bcw"] = txtBcWidth.Text;
r["bch"] = txtBcHeigth.Text;
r["bchorizontal"] = chkbchorizontal.Checked;
r["barcodetype"] = cbboxBarcodeType.SelectedIndex;
r["datamatrixdelimiter"] = txtBCTrennzeichen.Text;
//r["datamatrixformat"] = txtBCFormat.Text;
//r["Datamatrixfont"] = txtBCFont.Text;
//r["DataMatrixFontSize"] = txtBCFontSize.Text;
r["datamatrixcontent"] = txtBCInhalt.Text;
r["datamatrixbeschriftung"] = txtBCAnzeige.Text;
db.Update_Data();
}