如何将表情符号保存到SQL服务器并在ASP.NET C#中获取这些表情符号? [英] How to save emoji into the SQL server and get the those emoji in ASP.NET C#?
本文介绍了如何将表情符号保存到SQL服务器并在ASP.NET C#中获取这些表情符号?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何将表情符号保存到sql server并在asp.net c#中获取那些表情符号?
我尝试了什么:
如何将表情符号保存到sql server并在asp.net c#中获取那些表情符号?
解决方案
< blockquote>这是一个例子:使用ASP.NET 2.0和ASP.NET 3.5保存和检索数据库中的图像DotNetCurry [ ^ ]
请注意,该示例使用的是 image
SQL数据类型,现在已弃用。
使用 varbinary(max)
而不是。
how to save emoji into the sql server and get the those emoji in asp.net c#?
What I have tried:
how to save emoji into the sql server and get the those emoji in asp.net c#?
解决方案
Here is an example: Save and Retrieve Images from the Database using ASP.NET 2.0 and ASP.NET 3.5 | DotNetCurry[^]
Note that the example is using the "image
" SQL datatype, which is deprecated by now.
Usevarbinary(max)
instead.
这篇关于如何将表情符号保存到SQL服务器并在ASP.NET C#中获取这些表情符号?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文