Jes Sie

Jes Sie

  • 698
  • 1.2k
  • 266.1k

Gridview Sorting in C#

May 12 2021 10:01 AM
Hello everyone.
 
I have a public method to display data from the database to a grid view, say for example MyMethod(string param1, string param2).  This method is using a stored procedure. Now, how can I sort my gridview? I research already for several hours and all of the samples that I found shows only a method without a parameter or is using a SQL query and not a stored procedure. 
 
Thank you for letting me understand this thing.
 
Cheers 

Answers (4)