我通过两个存储过程获得两个结果集,分别放在datatable1和datatable2中,然后添加到一个dataset中,将这个dataset绑定为gridview的datasource,但是gridview中读取只能默认读取dataset中的第一个表格内容,第二个读取不到。求解。最好有列子
解决方案 »
- 个人网站初学者工具包的问题
- CheckBoxList赋值问题
- 终于可以散 300啦
- 关于Request.QueryString["pageindex"] != null的一个iegewenti
- Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index
- ========在线压缩,解压缩(要支持中文)
- Replace问题?
- 用.net的安装项目可以附加oracle的数据库吗?如果不可以,那改用什么安装软件
- 请问各位大侠,触发dropdownlist的SelectedIndexChanged事件,为何出现如下错误
- 我用virsual studio.net 开发asp.net时,必须建立项目
- 主页面DEV控件的GridView,在子页面编辑后,数据如何刷新
- 如何生成不定数量的文本框
dataset.table[1]第二个
GridView1.DataSource=ds;
GridView1.DataBind();
或者采取嵌套的方法
ASP.NET 绑定DataSet中的多个表