标签:
IEnumerable<DataRow> DetailRows() {
foreach (DataRow dr in EditData.Tables[tb_AttendLeaveDate._TableName].Rows) yield return dr; }
C# 返回Foreach集合
原文地址:http://www.cnblogs.com/GarsonZhang/p/4301499.html