Databinding Best Practices
I was wondering if anyone has encountered a performance
difference in the following 2 databinding techniques:
1. Displaying data in the HTML Code as such:
2. Displaying data using the code-behind ItemDataBound
event as such:
Dim lblTemp As Label
lblTemp = CType(e.Item.FindControl("lblSomeField"), Label)
lblTemp.Text = DataBinder.Eval
|All times are GMT. The time now is 12:07 AM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.