首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > C++ Builder >

c#语法求教,该怎么处理

2012-03-09 
c#语法求教using Systemusing System.Collectionsusing System.Collections.Genericusing System.Text

c#语法求教
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using BucConsole.Cep;
using System.IO;
using System.ServiceModel;
using UFIDA.U8.IF.MDMS.Tracking;
using System.Data;
using System.Data.Common;
using System.Configuration;

public IList<IntegrationFlowInstance> LoadAllInstances()
  {
  IntegrationFlowQueryOptions ops = new IntegrationFlowQueryOptions();
  //查询的内容,比如单据号。如果不设置这个选项,就表示不加内容过滤条件
  ops.LikeWhat = "Save";
  //查询分页的页号
  ops.PageIndex = 1;
  //查询分页的页大小
  ops.PageSize = 100;
  //查询的状态,如果不设置这个选项,就查询所有状态
  ops.IntegrationFlowStatus = IntegrationFlowStatus.Terminated;
  //查询并将结果保存到集合中
  IList<IntegrationFlowInstance> l = query.GetIntegrationFlows(ops);
   
  Return l;
  }

这个方法报错如下:
1)找不到类型或命名空间名称”return“(是否缺少using指令或程序集引用)
2)已在此范围定义了名为“l”的局部变量
求指教

[解决办法]
恭喜lz

热点排行