Exemplo n.º 1
0
        protected void BindNFOSchemeList()
        {
            DataTable dtNFOSchemeList;

            dtNFOSchemeList = commonLookupBo.GetOnlineMFNFOSchemeList();
            if (dtNFOSchemeList.Rows.Count > 0)
            {
                ddlScheme.DataSource     = dtNFOSchemeList;
                ddlScheme.DataValueField = dtNFOSchemeList.Columns["PASP_SchemePlanCode"].ToString();
                ddlScheme.DataTextField  = dtNFOSchemeList.Columns["PASP_SchemePlanName"].ToString();
                ddlScheme.DataBind();
                ddlScheme.Items.Insert(0, new ListItem("--SELECT--", "0"));
            }
            else
            {
            }
        }