Quantcast
Channel: DevNet Questions
Viewing all articles
Browse latest Browse all 8908

I am not able to get data from the table using "CustomTableItemProvider" in kentico 8.0 version.

$
0
0
Here I am using this code, But not getting any items or show object null error : const string customTableClassName = @ESPO.FrameworkStatus@; //var customTableProvider = new CustomTableItemProvider(customTableClassName); // Checks if Custom table exists var customTable = DataClassInfoProvider.GetDataClassInfo(customTableClassName); if (customTable != null) { // Gets the data set according to the parameters //var ds = CustomTableItemProvider.GetItems(@ESPO.FrameworkStatus@, @IsActive=1@, @FrameworkStatusValue@, -1, null); DataSet ds = CustomTableItemProvider.GetItems(@ESPO.FrameworkStatus@, @IsActive=1@, @FrameworkStatusValue@, -1, null); }

Viewing all articles
Browse latest Browse all 8908

Trending Articles