یه مشکل جدید
وقتی که دارم متنی رو با fck در بانک ذخیره می کنم این پیغام رو میده علتش چی هست
من نوع فیلد رو NVarchar(MAX گذاشتم .
این رو هم بگم اگه متن پیغام کم باشه میره ولی اگه 10 15 خط بشه این پیغام خطا میاد!!
Server Error in '/' Application.
--------------------------------------------------------------------------------
String or binary data would be truncated.
The statement has been terminated.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException: String or binary data would be truncated.
The statement has been terminated.
Source Error:
Line 125:
Line 126:
Line 127: mycommand.ExecuteNonQuery();
Line 128: myconnection.Close();
Line 129:
Source File: c:\webspace\mihanhost\shahrdari\shahrdarialiabadka tool.com\www\App_Code\C_Monaghese.cs Line: 127
Stack Trace: