Sign in
|
Join
|
Help
Wen Ching's Blog
My blog about everything
This Blog
Home
Syndication
RSS for Posts
Atom
RSS for Comments
Go
Search
Go
Tags
.NET
Asp.Net
ASP.Net 2.0
C#
Community
Computer Games
CSS
CustomValidators
Food/ Holiday/ Trips
General
Javascript
LINQ
Mesiniaga
Microsoft
My E-Book
NHibernate
QueryString
Skin
Technology
Test / Automation
T-SQL
Visual Studio 2005
Windows Vista / WinFX
Work Stuff
YouTube
Community
Home
Blogs
Media
Forums
Groups
Archives
September 2007 (5)
June 2007 (6)
May 2007 (14)
April 2007 (25)
March 2007 (29)
February 2007 (32)
January 2007 (13)
December 2006 (21)
November 2006 (11)
October 2006 (34)
September 2006 (9)
April 2006 (5)
March 2006 (8)
February 2006 (3)
January 2006 (4)
December 2005 (3)
November 2005 (1)
October 2005 (20)
September 2005 (15)
August 2005 (12)
Cryptography
Online MD5 Hash Database
Reverse Engineering
Crackme.De Community
General Security
Schneier on Security
WinFx / Windows Vista
Windows Workflows Foundation
Browse by Tags
All Tags
»
T-SQL
(
RSS
)
Dynamic Sorting
SQL Server 2005
Wednesday, April 04, 2007 12:04 PM
T-SQL - Enabling Dynamic Sorting using CASE
Let’s visualize you have a database table as below: Column Name EmployeeID Name IC DateOfBirth Data Type Numeric(28,2) Varchar(100) Varchar(50) DateTime Then you want to have a GridView in the user interface that looks like this: Header Name No...
Posted by
chuawenching
| with
no comments
Filed under:
T-SQL
,
Dynamic Sorting
Friday, March 09, 2007 4:33 PM
Transact-SQL – Input Search in a Filter selection
This is some basic thing, but I think it will be cool to blog about. Assuming you has this scenario: Search Criteria : [DropDownList] Item[0] – New IC Item[1] – Old IC Item[2] – Passport Search Now : [TextBox] Normally what people will...
Posted by
chuawenching
|
2 comment(s)
Filed under:
SQL Server 2005
,
T-SQL