Posted by Learner under Regular Expressions on 1/28/2009 | Views : 1457 | Status : [Member] | Replies : 1
I am trying to populate the WPF datagrid with the dataset but getting blank datagrid.When I populate through the table I found the records but at run time grid is coming blank.

Please find the code also: (using typed dataset)
EmployeeDS ds = new EmployeeDS();

DummyAPP.EmployeeDSTableAdapters.EmployeesTableAdapter adapter = new DummyAPP.EmployeeDSTableAdapters.EmployeesTableAdapter();


dataGrid1.DataContext = ds.Employees.DefaultView;

AT FrontEnd binding it like
<my:DataGrid ItemsSource="{Binding Path=Table[0] }"/>

PLease help me ... Where I am going wrong :(


Posted by: Learner on: 1/28/2009 [Member] Starter

Today I came with fresh mind and tried again. I just got my error.It's resolved now :)

Learner, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response