i have this a datagrid:
1 button on form:
private void button1_Click(object sender, RoutedEventArgs e)
{
ctx.Load(ctx.GetVia1Query());
var v = from t1 in ctx.via1s
select new { via_desc1 = t1.via_desc1, via_id1=t1.via_id1 };
dg1.ItemsSource =v.ToList();
}
the result is wrong into datagrid because return name columnand data (like on attach).
Why????? :((
thanks
V
Replies
Know the answer? Post it — somebody with the same question will find it here.