ASP.NET中SQL语句用关联的为什么DATASET会提示类型不匹配的错误sql=“select content.id,shbname.shbname as 设备名称,content.content as 内容,content.shbuser as 值班员, content.shbdate as 时间 from content inner join shbname on content.shbid=shbname.shbid order by content.shbdate desc”用这个语句时提示objcmd.fill(ds,"content")的类型不匹配,当用这个语句的时候就不会提示错误:sql="select id,shbname as 设备名称,content as 内容,shbuser as 值班员, shbdate as 时间 from content order by shbdate desc"WHY?????
解决方案 »
- asp.net中如何实现session传过来的值相加?
- 求一本学习asp.net的书籍
- window.showModalDialog("a.html",window,"")应用,问个问题
- gridview中文本框中的特殊字符问题
- GridView排序
- javascript:window.close();关不掉窗体!急
- 如何通过Web应用程序更改Web.config文件
- 有没有成熟的asp.net开发模式
- sqlserver里面一张表要是有60万条记录用asp/asp.net/delphi处理、进行查询等操作
- mvc AjaxHelper 问题
- datagrid的checkbox问题!
- 求用NET做的网络硬盘源码!
试试:objcmd.fill(ds,"newtable");