Geeks With Blogs
AzamSharp Some day I will know everything. I hope that day never comes.

I recieved this job description letter from some company which starts with:

Hello <#First Name#>: 

Wow! someone forgot to use databinding!! heheheh. They did not even bother to put the person name. 

I think it should have worked if they have used something like this: 

ASP.NET 1.X:

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

ASP.NET 2.0:

Hello <%# Eval("FirstName") %>

Properties:

Hello <%# FirstName %>

Method:

Hello <%# GetFirstName() %>

and don't forget to call DataBind.

 

powered by IMHO

 

Posted on Monday, November 28, 2005 3:38 PM | Back to top


Comments on this post: This is sooo LAME!!!

# re: This is sooo LAME!!!
Requesting Gravatar...
Rather than a databinding issue, this looks like a case of an unparsed email template.
Left by jBuelna on Nov 29, 2005 9:55 AM

Your comment:
 (will show your gravatar)


Copyright © Mohammad Azam | Powered by: GeeksWithBlogs.net