Beispiel #1
0
        private void GetData()
        {
            string function = "";

            switch (DeptType)
            {
            case "0": function = "p_warning_info_country_produce";
                break;

            case "1": function = "p_warning_info_country_fishery";
                break;

            case "2": function = "p_warning_info_country_animal";
                break;

            default: break;
            }

            DataTable table = operationContract.ExecuteProWarningInfoCountry(function, DeptId, ItemId, ObjectId,
                                                                             (_tableview.PageIndex - 1) *
                                                                             _tableview.RowMax, _tableview.RowMax);

            _tableview.Table = table;
            current_table    = table;
        }