Loading products from database
Hi all,
I am new in Sitefinity, please please i need a full example to show how to load product from database (SQL server), generaly i need to learn how to load informations from database. Thanks in advance.
you're going to want to use the Sitefinity API for this. Each content module (Blogs, News, Events, etc) exposes a ContentManager (BlogsManager, NewsManager, EventsManager, etc) that allows you to create, retrieve and edit items in the SF database.
For sample code on querying products, take a look at this documentation: http://www.sitefinity.com/documentation/documentationarticles/developers-guide/sitefinity-essentials/modules/ecommerce/products/querying-products
The sidebar navigation on the left exposes more docs and sample code for working with all the other content types: http://www.sitefinity.com/documentation/documentationarticles/developers-guide/sitefinity-essentials/modules
hope this is helpful!