using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace AIMS.OperationAanesthesia { public partial class frmPhysioDataUpdateLog : Form { public int OperationRecordId; public frmPhysioDataUpdateLog() { InitializeComponent(); } private void frmPhysioDataUpdateLog_Load(object sender, EventArgs e) { DataTable dataTable = DrawAnasReordBill.SelectPhysioDataUpdate(OperationRecordId); foreach (DataRow item in dataTable.Rows) { int index = dgvLog.Rows.Add(); dgvLog.Rows[index].Cells[0].Value = int.Parse(item["Id"].ToString()); dgvLog.Rows[index].Cells[1].Value = item["RecordTime"].ToString() + "->" + item["Name"].ToString() + " " + item["OldParamValue"].ToString() + " 改为 " + item["ParamValue"].ToString(); dgvLog.Rows[index].Cells[2].Value = item["OperatorName"].ToString(); dgvLog.Rows[index].Cells[3].Value = DateTime.Parse(item["OperatorTime"].ToString()); } dgvLog.ClearSelection(); } } }