Sql Server CE 3.5 ntext size limit problem in XP
I can't save in NTEXT field more then 4000 characters, when I run开发者_如何转开发 my application in Windows XP, but it works perfectly in Windows Server 2008 R2. How can I fix it?
using (var updateCommand = new SqlCeCommand(Constants.SQL_UPDATE, CeConn))
{
updateCommand.CommandType = CommandType.Text;
updateCommand.Parameters.Add(Constants.ID, SqlDbType.BigInt).Value =someID;
updateCommand.Parameters.Add(Constants.RESULT, SqlDbType.NText).Value = someResult;
}
精彩评论