firstin是从数据库中读出来的,有可能为null我要用if语句判断一下,if(firstin.Text.ToString()!="Y")报错:未将对象引用设置到对象的实例。需要怎么转换,我现在已经头大了。。。。 查看完整描述