1
Answer

About Linq...

yusuf

yusuf

16y
2.2k
1

Hi i  try to do queries with linq. This query works. But when i want to show the result in datagrid, cities name is not shown, it is shown their length.

How can i fix this.?

var result = (from cust in nw.Customers select new { cust.Country, cust.City })

.Concat(from supl in nw.Suppliers select new { supl.Country, supl.City });

datagirdview1.Datasource=result

 

Thanks...

Answers (1)