如何检索DataList中的球囊表 [英] How to retreive perticular table in DataList

查看:84
本文介绍了如何检索DataList中的球囊表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi
如何在DataList中检索选定的单个表.

hi
How to retrieve Selected single table in DataList.?

推荐答案

,您可以使用继承来实现.首先,您需要创建一个类,其中需要使用所需的参数创建虚拟方法并编写代码以连接数据库并获取值.


在您的Web表单中,您需要继承的是使用具有相同功能名称的覆盖关键字.您可以在其他页面上使用相同的功能.如果要最后记录的插入详细信息在下一页.您可以将其存储在会话中,然后使用它,并可以通过尝试使用它来调用数据.

您将获得解决方案.
you can do it using inhertance. first of all you need to create a class in which you need to create a virtual method with needed paramenter and write the code do connect database and fetch the value.


in your web form you need to inherite is using overide key word with same function name. and you can use same function on other page. if you want last recorded insert details on next page. you can store that in session and then use that and can call data using that try it.

you will get the solution.


这篇关于如何检索DataList中的球囊表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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