private void DGV_Medecines_SelectedCellsChanged(object sender, SelectedCellsChangedEventArgs e) { Cls_MedecationController Med=new Cls_MedecationController(); DataTable dt = new DataTable(); try { dt = ((DataRowView)this.DGV_Medecines.SelectedItem).DataView.ToTable(); this.cmx_Arab.Text = Med.Get_ArabName(dt.Rows[this.DGV_Medecines.SelectedIndex]["Name_latin"].ToString()); } catch { } }
DataTable dt = new DataTable(); this.FacadeMed = new Cls_MedecationController(); dt = this.FacadeMed.SellectAllMed(); //this.cmx_Arab.ItemsSource = dt.DefaultView; this.Cmx_Latin.ItemsSource = dt.DefaultView;
this.cmx_Arab.SelectedValue
this.cmx_Arab.Text
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)