Beispiel #1
0
        private void InitAttachmentType()
        {
            SectionConfigBLL bllSelectionConfig = new SectionConfigBLL();
            DataTable        dtAttachmentType   = bllSelectionConfig.GetSectionListAttachmentType();

            slt_attachmentType.DataSource     = dtAttachmentType;
            slt_attachmentType.DataTextField  = "value";
            slt_attachmentType.DataValueField = "key";
            slt_attachmentType.DataBind();
        }
Beispiel #2
0
        private void InitFontType()
        {
            SectionConfigBLL bllSelectionConfig = new SectionConfigBLL();
            DataTable        dtFontType         = bllSelectionConfig.GetSectionListTitleFontType();

            if (dtFontType != null && dtFontType.Rows.Count > 0)
            {
                slt_WaterFontType.DataSource     = dtFontType;
                slt_WaterFontType.DataTextField  = "value";
                slt_WaterFontType.DataValueField = "key";
                slt_WaterFontType.DataBind();
            }
        }