private void SetProgramTypes() { DataTable tbl = Data.ProgramTypeList(); ddlProgramType.DataSource = tbl; ddlProgramType.DataTextField = "text"; ddlProgramType.DataValueField = "program_type"; ddlProgramType.DataBind(); }
private void SetProgramTypes() { DataTable tbl = Data.ProgramTypeList(); ddlProgramType.DataSource = tbl; ddlProgramType.DataTextField = "text"; ddlProgramType.DataValueField = "program_type"; ddlProgramType.DataBind(); }