Prakash

Prakash

  • NA
  • 258
  • 78.5k

Display data in Dropdownlist

Jul 25 2016 3:53 AM
Hello Experts,
 
var details = (from c in db.tbl_Product
join e in db.tbl_Order on c.Id equals e.ProductId
where e.ProductId == c.Id
join d in db.tbl_Invoice on e.BillId equals d.Id
where d.Id == e.BillId
select new
{
Name = c.Name
});
ViewBag.Productdata = details;
 i got the product name  by using above query i want display these name in to dropdownlist in "Create View" please help me
 
Thank You 

Answers (1)