private void button3_Click(object sender, EventArgs e) { DataTable dt = DBConnection.SelectForPeriod2Workers(); dataGridView1.DataSource = dt; }