How to get Dataset form custom table using API in Kentico

Here are the sample codes for getting the Data(DataSet) from Custom Table:

************************************************************************

CMS.SiteProvider.CustomTableItemProvidertp = new 

CMS.SiteProvider.CustomTableItemProvider(CMS.CMSHelper.CMSContext.CurrentUser);

DataSet ds = tp.GetItems("CustomTableCodeName", "whereCondition", "OrderBy");.

************************************************************************

- My ASP.NET Application
We use cookies to provide the best possible browsing experience to you. By continuing to use our website, you agree to our Cookie Policy