示例#1
0
 public void LoadGrid()
 {
     //if (BaseControllerObject != null)
     //	grdControlItems.DataSource = BaseControllerObject.GetItemsList();
     if (BaseControllerObject != null)
     {
         grdControlItems.DataSource = BaseMvcController.CollectSearchCriteria();
     }
 }
示例#2
0
        private void btnSearch_Click(object sender, System.EventArgs e)
        {
            if (BaseMvcController == null)
            {
                return;
            }

            object[] list = BaseMvcController.CollectSearchCriteria();
            grdControlItems.DataSource = list;
            BaseMvcController.ClearControls();
        }