Which is faster? Dim dv As New DataView(session("myDataTable")) or CType(session("myDataTable"))

  • Thread starter Thread starter Andreas Klemt
  • Start date Start date
A

Andreas Klemt

Hello,
let's say my session("myDataTable") is type of DataTable

Now what is faster?

a) Dim dv As New DataView(session("myDataTable"))
b) Dim dv As New DataView(CType(session("myDataTable"), DataTable))

Which should I use and which is better?


Thanks in advance,
Andreas
 
Back
Top