Rohidas Jasud

Rohidas Jasud

  • NA
  • 39
  • 24.9k

Sorting Data Table Without returning New Datatable

Sep 20 2013 7:30 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 ?


Regards 
Rohidas

Answers (1)