我的datagrid是绑定到临时表的,如何实现自定义分页呢?
也就是如何写select语句呢?
select * from tembtable where id>firstid and id<=lastid ,可是没有连接啊?
敬请指教
也就是如何写select语句呢?
select * from tembtable where id>firstid and id<=lastid ,可是没有连接啊?
敬请指教
解决方案 »
- 网站编程高手才能解决的问题?
- 据说VS05以后的版本允许不同的开发语言在同一个项目下?
- 请问各位大侠,怎么设置GridView中每列居中显示?
- 关于gridview 合计及小计(在线等待.....)
- 如何在mysql中保存读取图片啊?、。。急。。。
- 什么情况下用 class 或者 sub
- ★★★先安装Vs.net2002,再安装msdn3003 April版,结果msdn的索引和目录都不能用,怎么办?(我查阅了前面的帖子好像都不能用)★★★
- 如何在UpdatePancel中使用LinkButton.Attributes.Add()????
- 问题我知道出现在那但不知道怎么改
- 新人求助,如何跳转页面的问题
- 怎么给<asp:HyperLink>加上个Title提示
- DropDownList控件 进行数据绑定后,无法获得其值?? --------在线等待,要疯了,搞了一下午
string filter = "select * from tembtable where id>firstid and id<=lastid";
DataRow[] rows = table.Select(filter);或直接生成一个DataView
DataView view = new DataView(table,filter,"",System.Data.DataViewRowState.CurrentRows);