OrderByOn = False

  • Thread starter Thread starter Chris K
  • Start date Start date
C

Chris K

Is it good practice to switch OrderByOn = false before setting new value for
OrderBy e.g.

OrderByOn = False
OrderBy = MyOrder
OrderByOn = True
Requery
 
Is it good practice to switch OrderByOn = false before setting new
value for OrderBy e.g.

OrderByOn = False
OrderBy = MyOrder
OrderByOn = True
Requery

The Requery is entirely unnecessary, as setting the OrderByOn
property automatically does it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top