太急了!!!!!!!!!!!!大家快帮我啊!!!!!!!!!
DAOHelper.ExecuteNonQuery( "update news set newstitle= ' "+this.newstitle.Text.ToString()+ " ',newscontext= ' "+this.newscontext.Text.ToString()+ " ',newsdate= ' "+this.newsdate.Text.ToString()+ " ' where username = ' "+this.newsid.Text.ToString()+ " ' ");
哪里错了呢?
------解决方案--------------------newsdate是什么类型的?
------解决方案--------------------newsid是int型,不能有 '号的.
应该是这样的吧.