Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/uy/public_html/wp-includes/functions.php on line 6121
DevExpress GridLookUp DataBind – Umut Yazılım - Ümit AYDIN

DevExpress GridLookUp DataBind

DevExpress GridLookUp DataBind

var dbPath = Application.StartupPath + @"\Kantar.mdb";
            var con = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + dbPath);
            // Create a data adapter.
            var da = new OleDbDataAdapter("SELECT Id,Yer,Km FROM TestFirmaYer where FirmaId=" + p, con);
            // Create and fill a dataset.
            var ds = new DataSet();
            da.Fill(ds, "TestFirmaYer");


            lookUpEditGidecegiYer.Properties.DataSource = ds.Tables[0]; //q.ToList();
            lookUpEditGidecegiYer.Properties.ValueMember = "Id";
            lookUpEditGidecegiYer.Properties.DisplayMember = "Yer";
            lookUpEditGidecegiYer.Properties.NullText = @"<Lütfen Yer Seçiniz>";

            lookUpEditGidecegiYer.Properties.BestFitMode = BestFitMode.BestFitResizePopup;
            lookUpEditGidecegiYer.Properties.SearchMode = SearchMode.AutoComplete;
            lookUpEditGidecegiYer.Properties.AutoSearchColumnIndex = 1;

Bir yanıt yazın

E-posta adresiniz yayınlanmayacak. Gerekli alanlar * ile işaretlenmişlerdir