开发者

Compare Features between client side sorting and SQL Server sorting

开发者 https://www.devze.com 2023-02-13 21:16 出处:网络
When it comes to sort some data, we have two option to sort the data: first one issort onSQL serverwithORDER BY clause, andanother is

When it comes to sort some data, we have two option to sort the data: first one is sort on SQL server with ORDER BY clause, and another is Client side sorting ,how i can choose one option over the other and why? which option is more efficient ?what are the feature will help with sorting? is th开发者_Python百科ere any sorting function with client side sorting ? what is the adventage on client side sorting?


Sorting data in SQL server is faster than client side but getting data from SQL server and binding data to client side will add cost and hence this process more take time than Sorting on client side. I would suggest you to sort data on client side and use some JavaScript framework like Jquery. You have not mention what plateform you are using as front end

Have a look some jquery based sorting example

http://www.codeproject.com/KB/aspnet/TableBlueSorter.aspx

http://www.dotnetcurry.com/ShowArticle.aspx?ID=259

0

精彩评论

暂无评论...
验证码 换一张
取 消