private void steeveforce_Load(object sender, EventArgs e) { this.initial(); try { dt = OperateSql.LoadData(sql, dgv); dt.TableName = "吊杆力记录表"; } catch (Exception ex) { MessageBox.Show(ex.Message); } }
private void FrontPivotRecord_Load(object sender, EventArgs e) { this.initial(); try { dt = OperateSql.LoadData(sql, dgv); dt.TableName = "前支点数据记录表"; } catch (Exception ex) { MessageBox.Show(ex.Message); } }
private void steevedisplacement_Load(object sender, EventArgs e) { this.initial(); sql = "select * from SteeveDisplacement"; try { dt = OperateSql.LoadData(sql, dgv);//加载数据 dt.TableName = "吊杆位移记录表"; } catch (Exception ex) { MessageBox.Show(ex.Message); } }
private void warn_Load(object sender, EventArgs e) { this.initial(); string sql = "select * from AlarmRecord"; try { dt = OperateSql.LoadData(sql, dgv); dt.TableName = "报警记录"; } catch (Exception ex) { MessageBox.Show(ex.Message); } }