update 20241213
This commit is contained in:
39
Client/Diverses/DokHistory.cs
Normal file
39
Client/Diverses/DokHistory.cs
Normal file
@@ -0,0 +1,39 @@
|
||||
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.Diverses
|
||||
{
|
||||
public partial class DokHistory : Form
|
||||
{
|
||||
|
||||
private string dokumentid { get; set; } = "";
|
||||
public DokHistory()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public DokHistory(string dokumentid)
|
||||
{
|
||||
InitializeComponent();
|
||||
this.dokumentid = dokumentid;
|
||||
}
|
||||
|
||||
private void DokHistory_Load(object sender, EventArgs e)
|
||||
{
|
||||
DB dB = new DB(AppParams.connectionstring);
|
||||
dB.Get_Tabledata("Select * from edoka_journale.dbo.nlog_doc where dokumentid='"+dokumentid+"' order by id desc",false,true);
|
||||
sfDataGrid1.DataSource = dB.dsdaten.Tables[0];
|
||||
this.sfDataGrid1.Columns["CreatedOn"].Format = "yyyy-MM-dd hh:mm:ss";
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user