DataBinder.Eval() : bad performance ! alternatives ?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Don Pedro

    DataBinder.Eval() : bad performance ! alternatives ?

    According to the documentation for the DataBinder class's Eval method should
    it only be used with discretion due to the fact it is latebound and uses
    reflection.

    "CAUTION Since this method performs late-bound evaluation, using
    reflection, at runtime, it can cause performance to noticeably slow compared
    to standard ASP.NET data-binding syntax."
    (http://msdn.microsoft.com/library/de...-us/cpref/html
    /frlrfsystemwebu idatabinderclas sevaltopic1.asp ?frame=true )

    I have heard people talk about a 30% performance loss in comparison to other
    methods, but what are these methods and what alternatives are there to using
    this (very nice for RAD) method ?

    / DonPedro





Working...