string[] strHomeArray = newstring[] { "flora grand home node", "florida home node", "florida in home node", "flora creek home node", "flora park home node", "flora home node"};
string[] strMeetingArray = newstring[] { "flora grand meeting node", "florida meeting node", "florida in meeting node", "flora creek meeting node", "flora park meeting node", "flora meeting node"};
int ctr = 0;
foreach (string str in strMeetingArray)
{
var rowCtr = umbraco.library.GetDictionaryItem(str);
var rowHomeCtr = Convert.ToInt32(umbraco.library.GetDictionaryItem(strHomeArray[ctr]));
var hotelID = ctr+1;
if ((_hotelID == "") || (_hotelID == Convert.ToString(hotelID)))
{
if (!string.IsNullOrEmpty(rowCtr))
{
Node n = newNode(Convert.ToInt32(rowCtr));
foreach (Node node in n.Children)
{
if (node.GetProperty("banquetType").Value.IndexOf(_banquetType) != -1)
{
if (string.IsNullOrEmpty(_nodeID) || (_nodeID.Contains(node.Id.ToString())))
Anybody, have a better idea on how to do it? Basically what it does is to pull the meetings and events data from the different hotel. Each meetings and events nodes have several meeting rooms that I need to display.
I use dictionary object to save the node id because we are using 12 language for our multilingual site.
Another way of pulling the nodes data
Hi,
I have this code to pull the data from different nodes.
Anybody, have a better idea on how to do it? Basically what it does is to pull the meetings and events data from the different hotel. Each meetings and events nodes have several meeting rooms that I need to display.
I use dictionary object to save the node id because we are using 12 language for our multilingual site.
is working on a reply...