For Each pdr As DataRow In DataTables("员工薪资").Select("") Dim dr As DataRow = DataTables("收支明细").AddNew() dr("支出去向") = pdr("支出去向") dr("日期") = Date.Now dr("支出") = pdr("实发工资") dr("支出类型") = "员工工资" dr("支出日期") = Date.Now dr("支出说明") = dr("支出日期") & dr("支出类型") & dr("支出去向") Next