开发者

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

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜