Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Apr 25, 2012 11:57 AM by ZeeshanAnsari11
Member
150 Points
210 Posts
Apr 24, 2012 02:08 PM|LINK
Hello All,
i have created temparary datatable and that datatable's value bind in gridview. i want to sort that gridview.how it is possible.
if any one have any idea regarding this then please tell me as earlier as posssible..
Any help will be appriciated.
Thanks in advance.
Khushboo Nayak.
107 Points
96 Posts
Apr 24, 2012 02:28 PM|LINK
Hey, you can try this...
when you click on the table, you will get gridview tasks, in that panel you can find 'Enable Paging' && 'Enable sorting' checkboxes. If you want the table to be sorted, check the Enable sorting chkbox. I think this works.
All-Star
95503 Points
14106 Posts
Apr 24, 2012 03:16 PM|LINK
handle GridView Sorting Event - http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.gridview.sorting.aspx
Thanks,
Contributor
5070 Points
1068 Posts
Apr 24, 2012 03:30 PM|LINK
Hi..
Refer the below link.do sorting
http://www.dotnetcode.in/2012/02/apply-sorting-in-gridview-using-aspnet.html
2270 Points
659 Posts
Apr 25, 2012 11:52 AM|LINK
hi
i hope it will help you
http://csharpektroncmssql.blogspot.com/2011/12/how-to-sorting-in-gridview.html
Participant
878 Points
264 Posts
Apr 25, 2012 11:57 AM|LINK
khushboo_Nayak i have created temparary datatable and that datatable's value bind in gridview. i want to sort that gridview.how it is possible.
When you retrieve the data from database that time use order by clause
its better.
khushboo_Nay...
Member
150 Points
210 Posts
sorting in gridview(using temp table)
Apr 24, 2012 02:08 PM|LINK
Hello All,
i have created temparary datatable and that datatable's value bind in gridview. i want to sort that gridview.how it is possible.
if any one have any idea regarding this then please tell me as earlier as posssible..
Any help will be appriciated.
Thanks in advance.
Khushboo Nayak.
aktzc
Member
107 Points
96 Posts
Re: sorting in gridview(using temp table)
Apr 24, 2012 02:28 PM|LINK
Hey, you can try this...
when you click on the table, you will get gridview tasks, in that panel you can find 'Enable Paging' && 'Enable sorting' checkboxes. If you want the table to be sorted, check the Enable sorting chkbox. I think this works.
ramiramilu
All-Star
95503 Points
14106 Posts
Re: sorting in gridview(using temp table)
Apr 24, 2012 03:16 PM|LINK
handle GridView Sorting Event - http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.gridview.sorting.aspx
Thanks,
JumpStart
vijay_myl
Contributor
5070 Points
1068 Posts
Re: sorting in gridview(using temp table)
Apr 24, 2012 03:30 PM|LINK
Hi..
Refer the below link.do sorting
http://www.dotnetcode.in/2012/02/apply-sorting-in-gridview-using-aspnet.html
My .NET blog
Submit Article
bhaskar.mule
Contributor
2270 Points
659 Posts
Re: sorting in gridview(using temp table)
Apr 25, 2012 11:52 AM|LINK
hi
i hope it will help you
http://csharpektroncmssql.blogspot.com/2011/12/how-to-sorting-in-gridview.html
Site:Rare technical solutions
ZeeshanAnsar...
Participant
878 Points
264 Posts
Re: sorting in gridview(using temp table)
Apr 25, 2012 11:57 AM|LINK
When you retrieve the data from database that time use order by clause
its better.
Please 'Mark as Answer' if this post helps you.