Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

DataBind

Explorer ,
Jul 09, 2007 Jul 09, 2007
I've got an asp.net c# page that has <%# DataBinder.Eval(Container.DataItem, "[formatted]") %> attached to it, but I keep on getting an error saying: Exception Details: System.ArgumentException: test is neither a DataColumn nor a DataRelation for table Casino. formatted is actually a sub-sub-sub table of casino eg:

The XML is:

<Blackjack>
<title> Blackjack </title>
<about> About Blackjack. </about>
<jackpot>
<progressive>
<formatted> $1,158.79 </formatted>
<penceInteger> 115879 </penceInteger>
</progressive>
</jackpot>
<lastWinner> just won $1.50 </lastWinner>
</Blackjack >

but I only want to show the contents of formatted. I've tried changing it to Blackjack>jackpot>progressive>formatted, but it still doesn't work

Thanks for any help
Lucy
TOPICS
Server side applications
352
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jul 11, 2007 Jul 11, 2007
What version of ASPNET are you using? Dreamweaver isn't great for this
If it's ASPNET 2.0 (VS 2005) forget it.

You either need Visual Web Developer or Expression Web by Microsoft VWD is free
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 12, 2007 Jul 12, 2007
I'm not sure what version of ASP it is, but I'm using Dreamweaver on a Mac, is there any software that I can use for it on a Mac?
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jul 12, 2007 Jul 12, 2007
What server technology are you using. If you're on a MAC I can only assume you're using Unix server. If this is the case, you can't use ASP.NET or ASP with these servers. They're Windows technologies. I know ASPNET C# hasn't been designed to run on Unix, yet. I think someone is working on it, not sure when available though.

Unix server would be Apache / Free BSD / Red Hat, etc.

Unless you're using a Windows Server you can use C# or other ASPNET languages (VB.NET)


You now have a choice. Either to switch to Windows and use Windows technology, something that could prove costly.

Switch from ASP.NET technology and use either ColdFusion or PHP.

I recommend ColdFusion simply because it's easier to learn especially if you have no programming background and it's more scalable for growing projects.

You can download the developer edition of ColdFusion from the Adobe site. This is free and will remain free.

You can then use Dreamweaver and ColdFusion to develop your site

You can also download PHP from PHP.org site and

You'll also need to get a database for the site. Since you're on MAC, I would recommend MySQL it works with both ColdFusion and PHP

Dreamweaver will work with either ColdFusion / PHP, but it like CF better

check with you hosting company to see what technology they support and what cost. I use www.hostingfest.com as they support ColdFusion / ASP / ASPNET 2.0 at no extra cost

Check them out if you want



Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 12, 2007 Jul 12, 2007
Thanks for that, I'll download ColdFusion and try to change teh site over to that.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jul 12, 2007 Jul 12, 2007
LATEST
Good luck a good book to help you with ColdFusion is Ben Forta Web Application Construction Kit.

I use this frequently and it will help you a great deal. You can order this through Amazon (.com or anyothers) also look for a great number of tutorials on the Adobe site, etc.

the forums are also very good



Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines