views:

12

answers:

1

I want to save the contents from HtmlEditor(Ajax Control) into a database field.

If i try to save as VARCHAR than error comes as data too long.

Please help.

+1  A: 

Use Text or NText

hoang
thank you. Another problem is when i try to retrieve the data in reverse i get the error as System.IndexOutOfRangeException: order at System.Data.ProviderBase.FieldNameLookup.GetOrdinal(String fieldName) at System.Data.Odbc.OdbcDataReader.
Some code might help
hoang