摘要
在数据库应用系统中查看数据时,不同的用户希望按照自己的使用角度来排列数据,但是,在初始打开数据页面的时候,数据总是只能按照一种方式排序。如果能够实现用户点击自己希望的排序字段,数据就按照顺序与逆序方式交替显示,既可以满足各种用户对数据的排序需求了。因此,设计了一个通用的方法适用于任意字段按照顺序与逆序交替排列。
When viewing data in the database applicating system,different users want to use their own point of view to arrange the data,however,the data is always one way to sort in the initial pages.If the user clicks on the field of their hopes to sort,data alternating display ordering by ascending or descending,then it can satisfy various user needs to the sortting of data.Therefore,I designed a generic way to apply to any field alternating display ordering by ascending or descending.
出处
《电脑编程技巧与维护》
2010年第16期58-58,109,共2页
Computer Programming Skills & Maintenance