public void stkinfo_gl() { new FrmGetDates().ShowDialog(); if (Class7.IsInputDate) { Class9.RrqIxZxw5("WHERE type IN('02')"); new stk_history().ShowPreviewDialog(); } }
private void FrmSTK_GL_Load(object sender, EventArgs e) { Class9.RrqIxZxw5("WHERE type IN('01','02')"); this.string_0 = "SELECT * FROM STK_GL "; this.oleDbDataAdapter_0 = new OleDbDataAdapter(this.string_0, this.oleDbConnection_0); using (DataSet set = new DataSet()) { this.oleDbDataAdapter_0.Fill(set); this.oleDbConnection_0.Close(); this.gridControl1.DataSource = set.Tables[0]; } }