I'm trying to load data to a panel. normally I'm binding datasource to the grid. but how can I bind data to a Panel?
var pro = (from pr in context.Products
select new
{
ProductName = pr.Name,
Price = pr.Price,
Quantity = pr.Qty
}).ToList();
I want to show the above-selected value inside the panel.