Karatas, FERHAT
I would love to change the world, but they won't give me the source code!
Memo field truncated
23.8.2006 06:38:41 - Filed under : Ado.net
In any Memo field that contains more than 1024 characters is truncated to 1024 characters when you insert some text to MS Access via web user interface.

Please check your dataset desinger file (ie. DatasetProducts.Designer.cs)
this._adapter.InsertCommand.Parameters.Add(new System.Data.OleDb.OleDbParameter("Content", System.Data.OleDb.OleDbType.WChar, 1024,
System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)),
"Content", System.Data.DataRowVersion.Current, false, null));
and replace 1024 to what you want (ie. 536870910)

Related Terminology : MS Access, TableAdapters, Insert Command, Update Command
with 0 comments

What do you think ?
Security Code 785
Check S. Code
Home Page