November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
But i need only the count and not the graph. Can you suggest how to achieve this.
foreach(XFormData d in xformStat.Statistics)
{
foreach(System.Xml.XmlNode n in d.Data.GetElementsByTagName( "instance" )[0].ChildNodes)
{
String name = n.LocalName;
String val = HttpContext.Current.Server.HtmlEncode( n.InnerText );
if(!formFields.ContainsKey( name ))
{
FormFieldStatistic tmpStatistic = new FormFieldStatistic( name );
tmpStatistic.AddEmptyVote( val );
formFields.Add( n.LocalName, tmpStatistic );
}
( (FormFieldStatistic)formFields[name] ).AddVote( val );
}
}
foreach(string key in formFields.Keys)
{
FormFieldStatistic ffs = formFields[key];
Control.Controls.Add( new LiteralControl(String.Format("{0} : {1} votes
", ffs.FieldName, ffs.Votes.Count )));
}