What is the error to fix in this COde? Namespace ESport_shopee {I III III Intera
ID: 3829738 • Letter: W
Question
What is the error to fix in this COde?
Namespace ESport_shopee {I III III Interaction logic for listadmin.xaml III 4 references public partial class listadmin: Window {public listadmin() {InitializeComponent(); > private void Button_Click(object sender, RoutedEventArgs e) {" esportDataSet dataset = new esportDataSet(); esportDataSetTableAdapters.AdminTableAdapter adapter = new esportDataSetTableAdapi adapter.Fill(dataset.Admin);//use the Customer table as the DataContext for this Window dataGrid.ItemsSource = dataset.Admin.DefaultView;Explanation / Answer
I dont see any variable dataGrid defined ,
you can try this thing though
You can try with DataGrid.ItemSource
II) If the above things doesnt work, you need to define variable dataGrid of same type then it will work.
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.