BrightIdeasSoftware.ObjectListView.ObjectsToHtml C# (CSharp) Method

ObjectsToHtml() public method

Return a html representation of the given objects
public ObjectsToHtml ( IList objectsToConvert ) : string
objectsToConvert IList
return string
        public virtual string ObjectsToHtml(IList objectsToConvert)
        {
            if (objectsToConvert.Count == 0)
                return String.Empty;

            OLVExporter exporter = new OLVExporter(this, objectsToConvert);
            return exporter.ExportTo(OLVExporter.ExportFormat.HTML);
        }
ObjectListView