从表面上看这句SQL有错误吗? rs.Open "select * from company where classid='"&classid&"' and companyname like '%classname%'",conn,1,1另外,最好最后的两个参数不要用数值表示。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 rs.Open "select * from company where classid='"&classid&"' and companyname like '%"& classname &"%'",conn,1,1 如果classname 是变量那么:rs.Open "select * from company where classid='"&classid&"' and companyname like '%"& classname &"%'",conn,1,1 RadioButtonList问题 在ASP.net中如何控制JS脚本的加载 请问:多文件上传问题中的 改上传文件名字 高手请进,想获得一个不确定泛型List<T>的所有子集,该怎么实现? 小问题很急 请问怎样用 C#上传图片 并按尺寸新生成一张略缩图? 正在做一个新闻系统,想做一个相关新闻的查询,不知道SQL语句怎末写 关于图片和文本的问题 如何在浏览器端缩小图片后,再上传图片到服务器 关于文件访问的权限问题 请问如何只让datagrid在page_load时只显示head,而不显示数据 有谁知道.net里面的MakeFile文件是干什么用的吗?怎么产生的?
rs.Open "select * from company where classid='"&classid&"' and companyname like '%"& classname &"%'",conn,1,1