Exemplo n.º 1
0
 private void button1_Click(object sender, EventArgs e)
 {
     DapperDbContext context = new DapperDbContext(CurrentConfig.ConnectionString);
     var list = context.QueryBData(_table.alias,dateTimePicker1.Value,dateTimePicker2.Value);
     dataGridView1.DataSource = list;
 }