0

我正在尝试将数据加载到面板。通常我将数据源绑定到网格。但是如何将数据绑定到面板?

var pro = (from pr in context.Products
                       select new
                       {
                           ProductName = pr.Name,
                           Price = pr.Price,
                           Quantity = pr.Qty

                       }).ToList(); 

我想在面板内显示上面选择的值。

4

0 回答 0