brendan-ignitedcoder
-
10/3/2012 8:52:02 AM
Events - CONTENT_BookingEvent
I'm building a custom set of pages to list events using the jquery slider, I've got everything setup to use my master page and all of my detail pages are all laid out and ready for some data. I've got a few files all set with the backend C# classes also ready to go. Now all thats left is for a kind soul to point to some very simple code I can use to query the CONTENT_BookingEvent table so I can grab the data related to our events and show them in my pages. Note I am using MVC and its working great on Kentico 6.X...
All I need is a simple way to query the top n events or filter an event by id so I can show some details..... Someone please give me a snippet of code to start with, unfortunately the documentation though lengthy does not make this clear.
Thanks, Brendan
|