.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

Container.DataItem and DataBinder.Eval

Posted By: priya     Posted Date: May 28, 2010    Points:2   Category :ASP.Net
What is the difference between Container.DataItem and DataBinder.Eval

For eg

<%# DataBinder.Eval(Container.DataItem,"LastName") %>

&
<%# Container.DataItem("LastName") %>

Thanks
Priya

Responses
Author: Sunil Yadav       [Moderator]      
Posted Date: May 28, 2010     Points: 5   
Author: Lakhan Pal Garg             
Posted Date: May 31, 2010     Points: 5   


Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend