示例#1
0
        protected void BindGridToDataSource()
        {
            string loadNumber = string.Empty;

            if (!(this.RadComboLoad.Text).ToUpper().Contains("ALL"))
            {
                loadNumber = RadComboLoad.Text;
            }

            List <LoadReleaseStatistics> stats = _dashboardRp.GetLoads(loadNumber);

            this.RadGrid3.DataSource = stats;
            this.RadGrid3.DataBind();
        }
示例#2
0
        protected void populateLoadList()
        {
            DataSet dsLoads = _dashboardRp.GetLoads();

            this.RadComboLoad.DataSource     = dsLoads.Tables[0];
            this.RadComboLoad.DataTextField  = "pick_Load_num";
            this.RadComboLoad.DataValueField = "pick_load_num";
            this.RadComboLoad.DataBind();
        }