I am using asp.net sqldatasource connected to formview which has update parameter defined as string like such:
<UpdateParameters>
<asp:Parameter Name="C" Type="String" />
</UpdateParameters>
When I exceed 4000 characters I get "String truncation: max=4000..." error. I am updating to SQL Compact Edition 4.0 and field is ntext. I was able to put more than 4000 characters usign visual studio interface the problem seems not to be with the database field type or size.
Changing the parameter to:
<asp:Parameter Name="C" Type="String" size="5000" />
did not help. If I do this I get no errors but no more than 4000 characters get updated.
What could be limiting the update character size?