예제 #1
0
    private void BindToDataTableReports(Telerik.Web.UI.RadDropDownList dropdownlist)
    {
        DataTable links = new DataTable();

        links = GroupMaster.GetReportsList();

        dropdownlist.DataTextField  = "ReportName";
        dropdownlist.DataValueField = "ReportType";
        dropdownlist.DataSource     = links;
        dropdownlist.DataBind();
    }
예제 #2
0
    private void BindToDataTableGroups(Telerik.Web.UI.RadDropDownList dropdownlist)
    {
        DataTable links = new DataTable();

        links = mtVendor.GetVGroupCode();

        dropdownlist.DataTextField  = "VGroupDescription";
        dropdownlist.DataValueField = "VGroupCode";
        dropdownlist.DefaultMessage = "Select group...";
        dropdownlist.Skin           = "Black";
        dropdownlist.DataSource     = links;
        dropdownlist.DataBind();
    }