Hi,
I want to bind itemsource to Datagridview. I have write foll code:
cmd = new SqlCommand(Querry, con);
cmd.CommandType = CommandType.Text;
da = new SqlDataAdapter(cmd);
da.Fill(ds);
dataGrid1.ItemsSource = ds.Tables[0].DefaultView;
But datagridview not showing rows.
Same i have done at windows programming. where it is working properly.