DataRow dr = new DataRow();
if (dr!=null && dr.Table.Columns.Contains("errormesg") && dr["errormesg"] != null)
            {
               //做相关的处理
            }

 

相关文章: