用Linq制作幻灯片放映数据 [英] Make a Slide show Data with Linq
本文介绍了用Linq制作幻灯片放映数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
假设我有两个按钮(下一个和上一个)
我想在每个视图中显示我的表格字段之一,
那么如何使用linq向前和向后传输数据?
另一个问题是列之一是imageurl
您建议向哪个控件显示它们?
(我不能将listView与Datapager一起使用,因为我想要自己的布局)
请给我一个例子
suppose I have two button (Next and prev)
I want to show one of my table field in each view,
so how can I use linq to forward and backward data?
the another problem is one of column is a imageurl
which control do you suggest to show them ?
(I cann''t use listView with Datapager because I want my own layout)
please give me an example
推荐答案
我建议使用FormView,因为您将完全控制模板.也就是说,您可以决定应呈现所有HTML标记,并且它确实支持分页.
I will suggest FormView, because you will get complete control over template. i.e you can decide which all HTML markups should be rendered and it does support paging.
这篇关于用Linq制作幻灯片放映数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文