如何在数据集表中导航记录 [英] How can i navigate the records in dataset table

查看:80
本文介绍了如何在数据集表中导航记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在asp.net中开发一个项目,后端为sqlserver,在我的一个网页中我要求我需要导航记录,我尝试使用数据集,但它只导航一条记录,plz发送给我使用数据集导航表中整个记录的代码...提前感谢

Iam developing a project in asp.net,with backend as sqlserver,in one of my web page i have a requirement that i need to navigate the records, i tried with dataset but it is navigating only one record,plz send me the code for navigating entire records in the table using dataset...thanks in advance

推荐答案

MSDN [ ^ ]将帮助您:)


使用数据集绑定gridview控件和gridview SelectedIndexChanged获取您要导航的记录,然后使用QueryString或Session来导航值。
Use the dataset to bind the gridview control and on gridview SelectedIndexChanged fetch the record which you want to navigate then use QueryString or Session to navigate the value.


这篇关于如何在数据集表中导航记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆