Click here to Skip to main content
15,890,717 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have many gridviews , global sorting overall in my project.example i bind gridview using common class as like need sort,sorting globally using in skin file or common class,without using onsorting event
Posted
Comments
ZurdoDev 9-Sep-14 8:01am    
Where are you stuck? And how would that work anyway? Every grid will have different column names, I assume.
SathishRam 9-Sep-14 8:48am    
ex: Public Sub BindGridView(ByVal datagrid As GridView, ByVal dt As System.Data.DataTable)
datagrid.DataSource = dt
datagrid.DataBind()
End Sub
Im binding grid here(this is common code to bind gridview),as like i need to sort
Mendaharin 10-Sep-14 0:40am    
What data are you trying to sort? Is it something from a database? or is it from a text file?
SathishRam 10-Sep-14 1:19am    
from database,or sort by column,without page load

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900