Thread: Wrox CMS in C#
View Single Post
  #1 (permalink)  
Old February 22nd, 2007, 02:08 PM
.Netster .Netster is offline
Registered User
 
Join Date: Feb 2007
Location: , , .
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
Default Wrox CMS in C#

Hi
I have made an attempt of converting the CMS application to C# using the converter at http://www.dotnettaxi.com/Tools/Converter.aspx. I converted the entire CMS app by removing Handles Me.Load from the page load events where errors occured during convertion. I then corrected various mistakes the converter had made when converting the syntax (mainly to do with accessing the connection string from the web.config).

But.. :( Visual Studio 2005 still lists 8 errors when I try to run the app. The most common error is 'System.Web.UI.HtmlControls.HtmlControl.Attributes ' is a 'property' but is used like a 'method' being an ASP.NET 2.0 and C# novice I cant find a solution to this. An annoying feature of the code converter is that it removes all the code comments which I find a great help. I chose C# as I found it similar to Actionscript which was my only previous experience in OOP. The files can be downloaded from http://www.gkadata.com/files/CmsC.rar

Any help would be greatly appreciated!!

Great book by the way!! If only all .NET books could be based on real world solutions!