Need to edge out the competition for your dream job? Train for certifications today.
Dim v As DataView = dtTracking.DefaultView;
v.Sort="Company, ContactName, TrackingType";
Open in new window
Dim view As DataView = DataTable1.DefaultView
view.Sort = "State, ZipCode DESC"
Then use the view to bind to the grid
This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.
Dim dv As New System.Data.DataView(dtGridview, "", "Company, ContactName, TrackingType", Data.DataViewRowState.OriginalRows)
For Each dr As System.Data.DataRow In dv.Table.Rows
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
Have a better answer? Share it in a comment.
Please enter a first name
Please enter a last name
Must be at least 4 characters long.
Join and Comment
From novice to tech pro — start learning today.
Premium members can enroll in this course at no extra cost.