在SQL2005中插入中文字符出现?号
Database db = new Database();
string sql = "Insert Into [Message] Values( "
+ "'" + userName + "',"
+ "'" + createTime + "',"
+ "'" + content + "',"
+ "'" + color + "',"
+ "'" + emotion + "')";
db.ExecuteSQL(sql);
当emotion为中文字符的时候,数据库里emotiom字段却是个?号。
我把这个字段的排序规则设为:Chinese_PRC_CI_AS,都是一样的问题