Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
146051 | Jul 17,2019 08:29 PM UTC | Jul 18,2019 12:54 PM UTC | WinForms | 1 |
![]() |
Tags: GridGroupingControl |
// Follwing will work since Type specified
var lista = (from q in ds.OrdersListDetails
orderby q.ShipCountry
select new OrderInfo
{
CustomerID = q.CustomerID,
OrderDate = q.OrderDate,
ProductName = q.ProductName,
UnitPrice = q.UnitPrice,
ShipCountry = q.ShipCountry,
SampleData = q.SampleData
}).ToList<OrderInfo>(); |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.