DataRow dr=dt.Rows[0]; if(!dr.IsNull("列名")) { //不为空的操作 } 转载于:https://www.cnblogs.com/12go/archive/2011/10/09/2203606.html