.NET news » Search results

Search results for query "filter" (16):

Simple TextBox Derived Custom Control: Filter Key Input

This is an example of a Custom Control that inherits from a TextBox and does a simple enhancement to the TextBox

BSEtunes

BSEtunes is a MySQL based, full manageable, networkable single or multiuser jukebox application. With BSEtunes the user could listen single- or multi selected songs, random songs, complete albums, songs in playlists etc. You could filter the random playback or create unlimited numbers of playlists. For selections drag the content from one panel to another. BSEtunes contains also an intergrated wpf coverflow clone.
2010-04-24 05:16:00   Source: BSEtunes   Tags: Examples Multimedia

Displaying a Sorted, Paged, and Filtered Grid of Data in ASP.NET MVC

Over the past couple of months I've authored five articles on displaying a grid of data in an ASP.NET MVC application. The first article in the series focused on simply displaying data. This was followed by articles showing how to sort, page, and filter a grid of data. We then examined how to both sort and page a single grid of data. This article looks at how to add the final piece to the puzzle: we'll see how to combine sorting, paging and filtering when displaying data in a single grid.

Like with its predecessors, this article offers step-by-step instructions and includes a complete, working demo available for download at the end of the article. Read on to learn more!

2011-02-08 18:00:00   Source: Displaying a Sorted, Paged, and   Tags: ASP.NET

Sorting and Paging a Grid of Data in ASP.NET MVC

This article is the fifth installment in an ongoing series on displaying a grid of data in an ASP.NET MVC application. Previous articles in this series examined how to sort, page, and filter a grid of data, but none have looked at combining one or more of these features in a single grid. This article and the next one show how to merge these features into a single grid. In particular, this article looks at displaying a grid that can handle both sorting and paging. The subsequent article will examine combining sorting, paging and filtering.

Like with its predecessors, this article offers step-by-step instructions and includes a complete, working demo available for download at the end of the article. Read on to learn more!

2011-01-25 18:00:00   Source: Sorting and Paging a Grid of Data in ASP.NET MVC   Tags: ASP.NET

Filtering Data Using ASP.NET 4's QueryExtender Control

One of the new controls available with ASP.NET 4 is the QueryExtender control. The QueryExtender is designed to simplify filtering data returned from a LinqDataSource or EntityDataSource by decoupling the filtering logic from the data source control. Using the QueryExtender is easy - simply add a QueryExtender to the page, specify what data source control it applies to, and then define the filtering criteria. For example, when displaying product information on a web page you could use the QueryExtender control and a few lines of markup to display only those products that are not within a certain price range and whose name or category starts with a user-specified search string.

Filtering the data returned by a LinqDataSource or EntityDataSource control is certainly possible without the QueryExtender; both the LinqDataSource and EntityDataSource controls have a Where property that can be used to specify filtering criteria. What the QueryExtender offers is a simpler means by which to filter data. This article includes a number of demos (which can be downloaded at the end of this article) that showcase the QueryExtender's ease of use and its powerful filtering capabilities.

2010-08-10 19:00:00   Source: Filtering Data Using ASP.NET 4's...   Tags: Examples

Common Table Expressions (CTE) in SQL Server 2005

When crafting a query in SQL, there are often times when we may need to operate over a set of data that doesn't inherently exist within the system. For example, the database for an eCommerce web application would have the standard tables - Products, Customers, Orders, OrderDetails, and so on - but we may need to run reports on a particular subset of the data or against aggregate data across these tables. Or the reporting queries we need might need to group or filter by results returned by scalar subqueries. Typically, views are used to break down complex queries into digestible chunks or to provide scalar subquery results that can be grouped and filtered. Views, however, are sometimes overkill, as they are permanent objects at the system-level. If we only need to reference this complex query in a single stored procedure or UDF, another option is to use a derived table. Unfortunately, derived tables muddle the readability of the query and must be repeated for each use in a statement..
2006-07-18 19:00:00   Source: Common Table Expressions (CTE) in SQL Server 2005   Tags: Database