Example #1
0
        private void DGrefreshWithParam(string param)
        {
            //dgCONN.SelectionChanged += new System.Windows.Forms.(this.dgCONN_CellContentClick);

            System.Data.DataTable DT;
            DT = mk.msqllite.GetDataTable("SELECT dd [DateTime],server,database,sql,TIME,rows,login,username,HOST FROM sqlhist where TAG MATCH '" + param + "' ORDER BY dd desc");
            dgsqlhist.DataSource = DT;
            DT.Dispose();
        }