ASP.net中的过滤器 [英] Filters in ASP.net

查看:74
本文介绍了ASP.net中的过滤器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我有一个网格视图,在其中有开始日期和结束日期列,我想过滤某些时间段并显示在网格中.

谁能帮我用VB在ASP.Net中实现此功能?

问候,
M.Swetha

Hi All,

I have a grid view and in which i have start date and end date columns i want to filter certain period and display in the grid.

Can any one help me out in implementing this in ASP.Net with VB

Regards,
M.Swetha

推荐答案

多种方式之一:
1.根据需要放置过滤器文本框
2.使用一个事件,例如过滤器"按钮,它将触发过滤器
3.使用过滤条件形成一个数据视图
4.将网格与Dataview重新绑定

试试吧!
One of the various ways:
1. Place filter textbox(s) based on your need
2. Use an event, like a Filter button which will trigger filter
3. Form a Dataview with the filter criteria
4. Rebind the grid with Dataview

Try!


这篇关于ASP.net中的过滤器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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