DirectCast()

  • Thread starter Thread starter gwboolean
  • Start date Start date
G

gwboolean

Guest
I have been using DirectCast() for a little while now and reading up on it as well.

I can see and understand what it is doing for me, in the one instance, where I am using it to locate a specific row in a dgv/table, i.e.

dgvListManager = DirectCast(BindingContext(dgvListTable), CurrencyManager)


dgvListTable.Rows(dgvListManager.Position),Item(6) = InputValue

However, after doing some reading on it, it really is not very clear to me, beyond this, what I am getting here.

Can someone explain to me how all of this works. And please, don't tell me yet why I should not use it or what is better. I need to fully understand what I am doing before moving on to the next thing I won't understand.

Try speaking slowly when you explain and I might understand.



gwboolean

Continue reading...
 
Back
Top