Dim dvCustomers As New DataView(dsNW.Tables("Customer"))
Sort the dataview by the customerID and in descending order
dvCustomers.Sort = "CustomerID DESC"
Bind the datagrid to the dataview and attach to the customer table of the dataview
dgCustomer.DataSource = dvCustomers
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.