• 00
  • :
  • 00
  • :
  • 00

C# 返回Foreach集合

IEnumerable<DataRow> DetailRows()
      {

          foreach (DataRow dr in EditData.Tables[tb_AttendLeaveDate._TableName].Rows)
              yield return dr;
      }

posted @ 2015-02-26 16:06  Garson_Zhang  阅读(455)  评论(0编辑  收藏  举报