protected void OutputColumns(SelectedColumnCollection columns, Label label)
        {
            StringBuilder sb = new StringBuilder();

            sb.Append("<table width='100%' cellspacing='5'>");
            bool addHeader = true;

            foreach (SelectedColumn columnd in columns)
            {
                if (addHeader)
                {
                    sb.Append("<tr>");
                    this.AddHeaderCell(sb, "ColumnID");
                    this.AddHeaderCell(sb, "ColumnDataIndex");
                    this.AddHeaderCell(sb, "ColumnIndex");
                    sb.Append("</tr>");

                    addHeader = false;
                }

                sb.Append("<tr>");

                this.AddCell(sb, columnd.ColumnID);
                this.AddCell(sb, columnd.ColumnDataIndex);
                this.AddCell(sb, columnd.ColumnIndex.ToString());

                sb.Append("</tr>");
            }

            sb.Append("</table>");
            label.Html = sb.ToString();
        }
        protected void OutputColumns(SelectedColumnCollection columns, Label label)
        {
            StringBuilder sb = new StringBuilder();
            sb.Append("<table width='100%' cellspacing='5'>");
            bool addHeader = true;

            foreach (SelectedColumn columnd in columns)
            {
                if (addHeader)
                {
                    sb.Append("<tr>");
                    this.AddHeaderCell(sb, "ColumnID");
                    this.AddHeaderCell(sb, "ColumnDataIndex");
                    this.AddHeaderCell(sb, "ColumnIndex");
                    sb.Append("</tr>");

                    addHeader = false;
                }

                sb.Append("<tr>");

                this.AddCell(sb, columnd.ColumnID);
                this.AddCell(sb, columnd.ColumnDataIndex);
                this.AddCell(sb, columnd.ColumnIndex.ToString());

                sb.Append("</tr>");
            }

            sb.Append("</table>");
            label.Html = sb.ToString();
        }