BC30451: Name 'Container' is not declared. -- Solved

  • Thread starter Thread starter justengland
  • Start date Start date
J

justengland

Ok After spending why to long on this problem I found out that I was
infact stupid.

the problem was that I needed to add a # sign
This is wrong
<% DataBinder.Eval(Container.DataItem, "CustName") %>

this is correct
<%# DataBinder.Eval(Container.DataItem, "CustName") %>

its that simple.
 
Well good you got that working..
Now you will never forget :)
Patrick
 

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

Back
Top