类型错了,这个 DataRow 解析成了 System.Data.DataRow。你可以把 using System.Data 删去,或者明确指定DataRow 的命名空间。
System.Data.DataRow
using System.Data