本文介绍了如何从表中读取每一行并与另一个表进行比较(如果匹配)则更新该行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
读一行 表 \\ templyee_table company_table 匹配(类似) EmpID,名称,金额_ID 和年 检查 解决方案
你为什么发帖同样的问题两次? 我如何从表中读取每一行并与另一行进行比较表Asp.Net(Csharp) [ ^ ] 我的答案是一样的。 Read one row of table emplyee_table with company_table matching(similar) EmpID, Name , Amount_ID and year check the "amount" of each row having same matching EmpID, Name , Amount_ID and year doesnt exceed with company_table "amount" if the amount of employee_table exceed company_table.. (if e.amt>c.amt) { validatiion- that row will not update } else if the amount of employee_table is same company_table (if e.amt=c.amt) { update that particular row into (company_details_table) } else if the amount of employee_table is same company_table (if e.amt<c.amt) { update that particular row into (company_details_table) } 解决方案 Why do you post the same question twice? How Do I Read Each Row From A Table And Compare With Another Table In Asp.Net(Csharp)[^] My answer is the same.
更多推荐
如何从表中读取每一行并与另一个表进行比较(如果匹配)则更新该行
发布评论