首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > C# >

用户名检测解决办法

2012-02-01 
用户名检测我想做用户名检测 ,用下面的方法selectcount(1) as count from注册表where 用户名 TextBox1.Te

用户名检测
我想做用户名检测 ,用下面的方法
select count(1) as count from 注册表 where 用户名= TextBox1.Text
但老提示我输入字符串格式错误,那位高手帮我看看

[解决办法]
"select count(1) as count from 注册表 where 用户名="+TextBox1.Text ;

热点排行