DataBinder.Eval() : bad performance ! alternatives ?

D

Don Pedro

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/default.asp?url=/library/en-us/cpref/html
/frlrfsystemwebuidatabinderclassevaltopic1.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
 

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

Members online

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,020
Latest member
GenesisGai

Latest Threads

Top