C# XP中的Sql Server CE 3.5 ntext大小限制问题

C# XP中的Sql Server CE 3.5 ntext大小限制问题,c#,.net,sql-server-ce,C#,.net,Sql Server Ce,当我在Windows XP中运行我的应用程序时,我不能在NTEXT字段中保存超过4000个字符,但它在Windows Server 2008 R2中工作得非常好。我怎样才能修好它 using (var updateCommand = new SqlCeCommand(Constants.SQL_UPDATE, CeConn)) { updateCommand.CommandType = CommandType.Text; updateCommand.Parameters.Add(Co

当我在Windows XP中运行我的应用程序时,我不能在NTEXT字段中保存超过4000个字符,但它在Windows Server 2008 R2中工作得非常好。我怎样才能修好它

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;
}

这与你的帖子有关吗?是的,但我只在Windows XP中遇到这个问题,我不明白为什么。