c#中判断数据库中读取的字段值为null,方法如下: rdr["student_name"] != System.DBNull.Value 或 rdr["student_name"].ToString()!=""