String.IsNullOrEmpty(value) 或者 value==null||value.Length==0 http://blog.csdn.net/meifage2/article/details/6621668