如何在.aspx中的TextBox中插入/键入符号 [英] How do Insert/Type Symbol in TextBox in .aspx Page

查看:122
本文介绍了如何在.aspx中的TextBox中插入/键入符号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的先生,



我想在.aspx页面的文本框中插入/输入垂直箭头和摄氏度的符号。



请建议。

Dear Sir,

I want to Insert/Type Symbol of vertical arrow and degree Centigrade in text box in .aspx Page.

Please suggest.

推荐答案

HI


你可以粘贴 ^ 作为向上箭头, 37°C 摄氏度



参考文献: 学位符号 [ ^ ]

插入符号或向上箭头 [ ^ ]
HI
you can paste this ^ as up arrow , 37°C for centigrade

References : Degree Symbol[^]
Caret or up arrow [^]


First :DataType应该是nvarchar来存储在SQL中

第二:插入符号的替代方法是复制符号(°F»↑↓)和过去它。

但我这方面这个符号应该通过单击插入。
First : DataType should be nvarchar to store in SQL
Second : Alternate Method to Insert Symbol is Copy Symbol(°F » ↑ ↓) and Past it.
But I aspect this Symbol should insert by clicking on it.


如果可以在a ll,然后你将复制并粘贴有问题的字符到javascript并编写代码来插入这些字符。 ASP.NET与它无关,除非你想预先填充控件,在这种情况下答案是相同的,但在C#代码中。
If it's possible at all, then you would copy and paste the characters in question in to javascript and write code to insert those characters. ASP.NET has nothing to do with it, unless you want to prepopulate the controls, in which case the answer is the same, but in the C# code.


这篇关于如何在.aspx中的TextBox中插入/键入符号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆