0
我想保存在我的數據庫unicode字符串中如何從SQL Server Management Studio中保存和恢復unicode字符串
即下面的「內容」。我怎樣才能做到這一點?
using (DbCommand objCMD = objDB.GetStoredProcCommand("usp_InsertMessage"))
{
objDB.AddInParameter(objCMD, "@Author", DbType.String, msg.Author);
objDB.AddInParameter(objCMD, "@Email", DbType.String, msg.Email);
objDB.AddInParameter(objCMD, "@Content", DbType.String, msg.Content);
objDB.AddInParameter(objCMD, "@Guid", DbType.Guid, msg.Guid);
try
{
objDB.ExecuteNonQuery(objCMD);
}