Пример #1
0
        private void button2_Click(object sender, EventArgs e)
        {
            DapperDbContext context = new DapperDbContext(CurrentConfig.ConnectionString);
            var             list    = context.QueryAmountData(dateTimePicker1.Value, dateTimePicker2.Value);

            dataGridView1.DataSource = list;
        }