注意 定义类的时候 不要null 别忘了new 实例化 否则报错

 EmailReceivesEntity emailReceivesEntity = null;
            foreach (string item in receiveEmails)
            {
                emailReceivesEntity.EmailAddr = item;

 

posted @ 2012-12-12 10:52  麦田HH  阅读(169)  评论(0编辑  收藏  举报