Hi frnds
I soo confused in the bellow code
public ActionResult Index()
{
NWDataContext db = new NWDataContext();
List<Product> products = db.Products
.OrderByDescending(x=>x.ProductId)
.ToList<Product>();
return View(products);
}
please suggest me here is define multiple time product
what is this I followed link means which is table ,index,controller
http://www.advancesharp.com/blog/1093/mvc-insert-update-delete-and-select-records