如何从中继器控件中获取最后的记录值?
我想从中继器控件中获取最后一条记录的详细信息。有人可以帮忙吗?
更详细: 在我的数据库中插入了天数。最后记录显示旅行的总天数。所以我想要来自重复的最后一个记录值
I want to get the last record detail from repeater control. can someone help?
more detail :
in my database there is number of days inserted. the last record shows the total days of tours. so i want that last record value from repea
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
在后面的代码中,您可以使用
ItemDataBound
事件来获取最后一项的详细信息:In code behind you can use the
ItemDataBound
event to get the details of the last item: