C# 返回Foreach集合
IEnumerable<DataRow> DetailRows()
{
foreach (DataRow dr in EditData.Tables[tb_AttendLeaveDate._TableName].Rows)
yield return dr;
}
慎于行,敏于思!GGGGGG
IEnumerable<DataRow> DetailRows()
{
foreach (DataRow dr in EditData.Tables[tb_AttendLeaveDate._TableName].Rows)
yield return dr;
}