DataRow dr=dt.Rows[0];

if(!dr.IsNull("列名"))

{

  //不为空的操作

}

posted on 2011-10-09 13:49  易尔购  阅读(12114)  评论(0编辑  收藏  举报