1
Answer

sorting Data table Without returning new dataTable

Rohidas Jasud

Rohidas Jasud

11y
797
1
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)