コード例 #1
0
 private void btnSertifikaliTohumBasvuru_Click(object sender, EventArgs e)
 {
     dataGridViewListe.DataSource                     = sertifikaliTohumBll.GetAll().OrderByDescending(I => I.SertifikaliTohumDosyaNo).ToList();
     dataGridViewListe.Columns["Id"].Visible          = false;
     dataGridViewListe.Columns["BasvuruYili"].Visible = false;
     lblListeIsmi.Text = $"{btnSertifikaliTohumBasvuru.Text} Listesi - Toplam {dataGridViewListe.RowCount} kayıt mevcuttur.";
     KayitIsmi         = $"{btnSertifikaliTohumBasvuru.Text}.xls";
 }
コード例 #2
0
        private void SertifikaliTohum2020_Load(object sender, EventArgs e)
        {
            dataGridViewListe.DataSource = bll.GetAll().OrderByDescending(I => I.SertifikaliTohumDosyaNo).ToList();

            txtBasvuruYili.Text = "2020";
            txtTcNo.Focus();
            dataGridViewListe.Columns["Id"].Visible          = false;
            dataGridViewListe.Columns["BasvuruYili"].Visible = false;


            //dataGridViewListe.Columns["CksDosyaNo"].Visible = false;
            //dataGridViewListe.Columns["TcNumarasi"].Visible = false;
            //dataGridViewListe.Columns["AdiSoyadi"].Visible = false;
            //dataGridViewListe.Columns["BabaAdi"].Visible = false;
            //dataGridViewListe.Columns["Koy"].Visible = false;
        }