コード例 #1
0
        private void dtpS_ValueChanged(object sender, EventArgs e)
        {
            if (dtpB.Value <= dtpS.Value)
            {
                cPersonel p = new cPersonel();
                dgvPHar.DataSource = p.PersonelHareketleri(txtArama.Text, Convert.ToInt32(txtGID.Text), dtpB.Value, dtpS.Value);

            }
        }
コード例 #2
0
 private void cbArama_SelectedIndexChanged(object sender, EventArgs e)
 {
     cGorev go = (cGorev)cbArama.SelectedItem;
     txtGID.Text = go.GorevID.ToString();
     cPersonel p = new cPersonel();
     dgvPHar.DataSource = p.PersonelHareketleri(txtArama.Text, Convert.ToInt32(txtGID.Text), dtpB.Value, dtpS.Value);
     dgvPHar.Columns[1].Width = 175;
     dgvPHar.Columns[2].Width = 175;
 }