前台Brand.aspx页面代码:加上ChAR(39)就没有错误了,有点困惑,Sql Procedure如图:列名无效
解决方案 »
- 安装AspNetMVC2_VS2008错误
- 无法找到资源。 说明: HTTP 404。您正在查找的资源(或者它的一个依赖项)可能已被移除,或其名称已更改,或暂时不可用。请检查以下 URL 并确保其拼写正确
- DataGrid 里面怎么通过 Command 得到DG里的选择行里的参数,代码如下
- Panel控件和IE7.0的问题
- sql问题:很急。。。。请进来看看,谢谢了
- Repeater itemDataBound(急)对的马上给分
- Asp.Net还是.NetRemoting呢?
- 求NetAdvantage 2004 V1.1正式版(要能下的)!
- messagebox问题
- 怎么运作一个电子商务项目?顶者有分~~~~
- 使用aspx后缀名的文件作为access数据库文件,编译的时候报"服务器块的格式不正确"
- 一个时间循环
报什么错误
where order=1234
和
where order='1234'
一样吗?
如果你看不懂 char(39)的写法,你可以 看看这个print 'select * from TableName where id = '+char(39)+'1234'+char(39)
print 'select * from TableName where id = '''+'1234'+''''
print 'select * from TableName where id = ''1234'''/*
Result:
-----------------------------------------
select * from TableName where id = '1234'
select * from TableName where id = '1234'
select * from TableName where id = '1234'*/
、、、、
如果你看不懂 char(39)的写法,你可以 看看这个print 'select * from TableName where id = '+char(39)+'1234'+char(39)
print 'select * from TableName where id = '''+'1234'+''''
print 'select * from TableName where id = ''1234'''/*
Result:
-----------------------------------------
select * from TableName where id = '1234'
select * from TableName where id = '1234'
select * from TableName where id = '1234'*/
、、、、
有点意思,收藏了。