我用Reflector打开一个DLL,在其中发现下面的代码,
SqlConnection connection1 = new SqlConnection(this.strConn);
SqlCommand command1 = new SqlCommand();
command1.Connection = connection1;
command1.CommandText = "dbo.wsp_\u767b\u8bb0_\u5e02\u573a\u4e3b\u4f53\u767b\u8bb0_\u4f01\u4e1a\u67e5\u8be2_\u57fa\u672c\u8d44\u6599_\u4e3b\u4f53\u8eab\u4efd\u4ee3\u7801";
command1.CommandType = CommandType.StoredProcedure;
command1.Parameters.Clear();
command1.Parameters.Add(new SqlParameter("@\u4e3b\u4f53\u8eab\u4efd\u4ee3\u7801", SqlDbType.VarChar, 0x18));
command1.Parameters["@\u4e3b\u4f53\u8eab\u4efd\u4ee3\u7801"].Value = 编号;
connection1.Open();
请问\u767b\u8bb0、\u5e02\u573a\u4e3b\u4f53\u767b\u8bb0……这样的表示什么内容?谢谢!
SqlConnection connection1 = new SqlConnection(this.strConn);
SqlCommand command1 = new SqlCommand();
command1.Connection = connection1;
command1.CommandText = "dbo.wsp_\u767b\u8bb0_\u5e02\u573a\u4e3b\u4f53\u767b\u8bb0_\u4f01\u4e1a\u67e5\u8be2_\u57fa\u672c\u8d44\u6599_\u4e3b\u4f53\u8eab\u4efd\u4ee3\u7801";
command1.CommandType = CommandType.StoredProcedure;
command1.Parameters.Clear();
command1.Parameters.Add(new SqlParameter("@\u4e3b\u4f53\u8eab\u4efd\u4ee3\u7801", SqlDbType.VarChar, 0x18));
command1.Parameters["@\u4e3b\u4f53\u8eab\u4efd\u4ee3\u7801"].Value = 编号;
connection1.Open();
请问\u767b\u8bb0、\u5e02\u573a\u4e3b\u4f53\u767b\u8bb0……这样的表示什么内容?谢谢!
解决方案 »
- html button click事件发生前一定会发生focus事件吗?
- IIS Windows无法启动Windows Process Activation Service服务(位于本地计算机上)错误1413:无效索引
- AspNetPager和DataList绑定分页时,显示不出所有数据页
- 关于StringBuilder 转为string[]数组.
- 求数据库设计思路及实现方案(顶有分)
- 请教一下如何在截取一段包含字符串时能不截取html代码?
- 如何检查用户的浏览器有没有启用Cookie
- 紧急问题,高分送上
- ASP.NET MVC AJAX返回兼容问题
- 关于socket的在winserver2003接收不到值的问题
- =========高分求sql语句
- 程序本地测试是好的,但是传到服务器上就出错了
登记\u5e02\u573a\u4e3b\u4f53\u767b\u8bb0
市场主体登记\u4e3b\u4f53\u8eab\u4efd\u4ee3\u7801
主体身份代码....
Imports System.Globalization
Imports System.Text.RegularExpressions
Imports System.DiagnosticsPublic Module BirdshomeModule Birdshome Sub Unicode2Character()Sub Unicode2Character()
Dim doc As Document = DTE.ActiveDocument
Dim docText As TextDocument = doc.Object
Dim selText As TextSelection = docText.Selection()
selText.SelectAll()
Dim text As String = selText.Text
Dim iLength As Integer
Do
iLength = text.Length
Dim m As Match
Dim strPattern As String = "(?<code>\\u[A-F0-9]{4})"
m = Regex.Match(text, strPattern, RegexOptions.IgnoreCase)
If m.Success Then
Dim strValue As String
strValue = m.Groups("code").Value
text = text.Replace(strValue, "")
Dim int As Integer
int = System.Int32.Parse(strValue.Substring(2, 4), NumberStyles.HexNumber)
Dim ch As Char = ChrW(int)
docText.ReplacePattern(strValue, ch)
Else
Exit Do
End If
If Not text.Length < iLength Then
Exit Do
End If
Loop
selText.StartOfDocument()
End Sub
End Module
char[] uc={'\u6b22','\u8fce','\u4f7f','\u7528'};
string hz=new string(uc);
Response.Write(hz);