如果第一列的值为空,并且第二列和第三列的值都带“汤原县*”字符, 那么第四列的值为“完毕”。 请问如何实现?
If e.DataCol.Name = "第一列" Then If e.DataRow.IsNull("第一列") Then ' e.DataRow("第三列") = Nothing Else If e.DataRow("第一列") isnull and e.DateRow("第二列") Like "汤原县*" and e.DateRow("第三列") Like "汤原县*" e.DataRow("第四列") = "完毕" End If End IfEnd If