1
Answer

Display data in Dropdownlist

Akash Patil

Akash Patil

8y
240
1
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)