private void BinSiteTemplates() { try { TemplateDataContext dbTemplage = new TemplateDataContext(SystemSetting.SageFrameConnectionString); var LINQ = dbTemplage.sp_TemplateGetList(GetPortalID, GetUsername); ddlTemplate.DataSource = LINQ; ddlTemplate.DataTextField = "TemplateTitle"; ddlTemplate.DataValueField = "TemplateTitle"; ddlTemplate.DataBind(); } catch (Exception ex) { ProcessException(ex); } }
private void BinSiteTemplates() { try { TemplateDataContext dbTemplage = new TemplateDataContext(SystemSetting.SageFrameConnectionString); var LINQ = dbTemplage.sp_TemplateGetList(GetPortalID, GetUsername); ddlTemplate.DataSource = LINQ; ddlTemplate.DataTextField = "TemplateTitle"; ddlTemplate.DataValueField = "TemplateTitle"; ddlTemplate.DataBind(); } catch (Exception ex) { ProcessException(ex); } }