Dim DST As DataRow = CurrentTable.Current.DataRow If CurrentTable.Current IsNot Nothing Then Dim dr As Row = Tables("坯布信息").AddNew Tables("坯布信息").Current("机号") = dst("机号") Tables("坯布信息").Current("评分") = dst("评分") Tables("坯布信息").Current("产品名称") = dst("产品名称") Tables("坯布信息").Current("双面") = dst("双面") Tables("坯布信息").Current("匹号") = dst("匹号") Tables("坯布信息").Current("序号") = dst("序号") End If
If CurrentTable.Current IsNot Nothing Then Dim cr As Row = CurrentTable.Current Dim r As Row = Tables("坯布信息").AddNew r("机号") = cr("机号") r("评分") = cr("评分") r("产品名称") = cr("产品名称") r("双面") = cr("双面") r("匹号") = cr("匹号") r("序号") = cr("序号") End If