Error:The name 'Container' does not exist in the current contextnew
-
Hi all, In my repeater control i have done a simple if condition as below <%if(((Estate)Container.DataItem).Invoiced) %> <%{ %> <td> Invoiced </td> <%}else{ % > <td> Not Invoiced </td> <%} % > Estate is my DTO class When i run this code i am getting a error as below The name 'Container' does not exist in the current context What is the reason for this error. Please suggest me. Thank you
Know is Drop, Unknown is Ocean
-
Hi all, In my repeater control i have done a simple if condition as below <%if(((Estate)Container.DataItem).Invoiced) %> <%{ %> <td> Invoiced </td> <%}else{ % > <td> Not Invoiced </td> <%} % > Estate is my DTO class When i run this code i am getting a error as below The name 'Container' does not exist in the current context What is the reason for this error. Please suggest me. Thank you
Know is Drop, Unknown is Ocean
The name container, does not exist in this specific context.
Christian Graus Driven to the arms of OSX by Vista.
-
Hi all, In my repeater control i have done a simple if condition as below <%if(((Estate)Container.DataItem).Invoiced) %> <%{ %> <td> Invoiced </td> <%}else{ % > <td> Not Invoiced </td> <%} % > Estate is my DTO class When i run this code i am getting a error as below The name 'Container' does not exist in the current context What is the reason for this error. Please suggest me. Thank you
Know is Drop, Unknown is Ocean
Exelioindia wrote:
What is the reason for this error.
Because,
Exelioindia wrote:
The name 'Container' does not exist in the current context
:)
cheers, Abhijit My Recent Article : Beginner's Guide to ASP.NET Application Folder