Groups | Blog | Home
all groups > dotnet ado.net > may 2007 >

dotnet ado.net : Does sorting a dataview cause its datatable to change



Jerry J
5/4/2007 6:17:03 AM

If I sort a dataview using dataview.sort = "sort string", can the
dataview.table change?

--
Miha Markic
5/4/2007 4:17:31 PM
No, sorting dataviews doesn't change the underlying table in any way.
However, note that when you bind DataTable you are actually binding
DataTable.DefaultView.

--
Miha Markic [MVP C#, INETA Country Leader for Slovenia]
RightHand .NET consulting & development www.rthand.com
Blog: http://cs.rthand.com/blogs/blog_with_righthand/

[quoted text, click to view]
AddThis Social Bookmark Button