Yes, but an intelligent man could understand that I have already found and applied this, but it is not enough
C
CARBER
@CARBER
Posts
-
Store Rich Text in DATA Base -
Store Rich Text in DATA BaseHello, i use ajax, HtmlEditorExtender to let users writing their own description i store in database, and in my database i can see properly data store in table like this :
'๐ธ๐ค DANCE SQUARE ๐ค๐ธ\n๐ LA TRILOGIE :\n3 dates ร ne surtout pas manquer\n.\n๐งโพ๏ธ 29 Octobre - LA'
but when i read data by sql, in string variable, i lose all the specials characters like hearts in my example, all specials characters are replace by ? what should i do to keep specials characters ? (correctly store in database.) i read like this :
if (!res.IsDBNull(i))
ss {
return res.GetString(i);
}
else
{
return string.Empty;
}