yusuf

yusuf

  • NA
  • 57
  • 0

About Linq...

Apr 22 2008 7:33 PM

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)