Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


#eval function on

Posted on 2009-07-01
Medium Priority
Last Modified: 2012-05-07
Can anyone tell me why this is complaining at compile time?

the second code snippet works fine!
--this doesnt work
                             <div style="color: #0000AA; font-size: 10px;">
                                         Dim eee As String = #Eval("CustomerID")
                                         Dim aaa As String = getCompanyNameFromID(eee)
--but this does
                             <div style="color: #0000AA; font-size: 10px;">

Open in new window

Question by:philip_doherty
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2

Expert Comment

ID: 24753073
Please try the following Code in your aspx page

         <%# getCompanyNameFromID (Eval("CompanyName").ToString()) %>


Author Comment

ID: 24851128
trying it ou

Accepted Solution

Muralidharanp earned 2000 total points
ID: 24867846
let me know the status.

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Foolproof security solutions has become one of the key necessities of every e-commerce or Internet banking website. If you too own an online shopping site then its vital for you to equip your web portal with customer security features that can allow…
If I have to fix slow responding website my first thoughts are server side optimizations: the database may not be optimized or caching is not enabled, or things like that. We often overlook another major part of our web application: the client. We o… provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

664 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question