This question basically boils down to "What is the difference between X and Y:"

What is the difference between having <%# Eval("State") %> in your aspx page or <%# DataBinder.Eval(Container.DataItem, "State") %> in your aspx page?

This answer boils down to "Yes, they are different:"

I have seen following code
<%# (DataBinder.Eval(Container.DataItem, "ApplicationId").ToString() == "-1" ? "N/A" : Eval("ApplicationId").ToString()) %>
So I guess they slightly different.

So, I flagged NAA. Declined - flags should not be used to indicate technical inaccuracies, or an altogether wrong answer. Okay. And I get that NAA flags are not meant for low-quality answers, or wrong answers...but I don't really see how this is an answer. If the question is "How are they different?" and the answer is "They are different", without any attempt to actually answer the question, can it really be considered an answer, even a really bad one?

How are waffles and pancakes different?
I have seen them in different containers at the buffet. I guess they are different.

  • 5
    Reserve NAA to things that are not answers. A bad answer is an answer, non the less. – Oded May 24 '13 at 18:15
  • 3
  • Consider downvoting though, if you feel it's a very poor quality answer. – Servy May 24 '13 at 18:19
  • @MartijnPieters this is actually pretty much a dupe of that question. Shall we shut this down? – MikeTheLiar May 24 '13 at 18:23
  • I still say that isn't an answer, though. – MikeTheLiar May 24 '13 at 18:24
  • @mikeTheLiar: If you feel this is a dupe of that one, then we vote on it. :-) – Martijn Pieters May 24 '13 at 18:24
  • 2
    @mikeTheLiar Would you say it's an attempt at an answer, albeit one that failed completely? If so, then don't flag with NAA, as that's meant for things which make no effort at all towards answering the question. – Esoteric Screen Name May 24 '13 at 18:25
  • @Eso it's not an attempt. It completely missed the actual question. It should have been a comment. – MikeTheLiar May 24 '13 at 18:27
  • 1
    @mikeTheLiar: Then that's a failed attempt. Which is still an attempt. – BoltClock's a Unicorn May 24 '13 at 18:35
  • 2
    @BoltClock'saUnicorn But where's the line between an attempt and "Which way to the railway station?" - "Tuesday!"? – Daniel Fischer May 24 '13 at 18:40
  • 1
    @BoltClock'saUnicorn an attempt at what? because it's surely not an attempt to help the OP or to answer the question that was actually asked. – Sam I am says Reinstate Monica May 24 '13 at 19:24

Browse other questions tagged .