コード例 #1
0
        void SubemdekiAraclar() // ŞUBEDEKİ TÜM ARAÇLAR
        {
            AracGridView.DataSource = null;
            DataTable dt = BLL_Arac.TekSubeninAraclari(Session.SubeID);

            AracGridView.DataSource = dt;
            AracGridView.Refresh();
            AracGridView.ClearSelection();
        }
コード例 #2
0
 private void SubeComboBox_SelectedIndexChanged(object sender, EventArgs e) //ŞUBEYE GÖRE ARAÇ GETİRME
 {
     if (SubeComboBox.SelectedValue is int)
     {
         AracGridView.DataSource = null;
         DataTable dt = BLL_Arac.TekSubeninAraclari(Convert.ToInt32(SubeComboBox.SelectedValue));
         AracGridView.DataSource = dt;
         AracGridView.Refresh();
         AracGridView.ClearSelection();
     }
 }
コード例 #3
0
        // MENÜ GEÇİŞ KODLARI

        private void AracIslemMenuItem_Click(object sender, EventArgs e)
        {
            tabControl1.SelectTab(AracIslemPage);
            AracGridView.ClearSelection();
        }