Rohidas Jasud

Rohidas Jasud

  • NA
  • 39
  • 24.8k

sorting Data table Without returning new dataTable

Sep 20 2013 7:32 AM
Hi 

 I want to sort the Data Table according to specific query and returns the Original Data Table with sorted form.

Here is code i written but returns new data Table.
  

          m_dtCacheSource.DefaultView.Sort = "Size(KB) DESC";
            m_dtCacheSource                           = m_dtCacheSource.DefaultView.ToTable();


any idea how this proble will be solved ?


Answers (1)