Bob, I spoke to soon I did find a site that will convert vb.net to cSharp tool, looks expensive though. They have an online demo that will convert a chunk of code for you http://www.ellkay.com/ConvertVB2Csharp_demo.htm Hope this helps George
-----Original Message----- From: Bob Herrmann [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 28, 2004 10:53 AM To: [EMAIL PROTECTED] Subject: RE: [AspNetAnyQuestionIsOk] C# question Thanks George, I will check out this site. Also, are there any sites that point out syntax differences between vb.net and C#? For example, in my prior post Dean showed me that I needed brackets [] instead of parentheses () for array lists and collections. Bob -----Original Message----- From: Oakes, George [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 28, 2004 10:21 AM To: [EMAIL PROTECTED] Subject: RE: [AspNetAnyQuestionIsOk] C# question Try http://www.learnvisualstudio.net?referedby=54275 They have valuable resources for learning C#, VB.Net, ASP.Net, ADO.Net All the Tutorials are in Windows Media Format, over 60 hours worth of tutorials, source code is provided for Gold Members, its very cheap when you consider other Learning sources pricing!!! Bronze members are free, but only get the Daily videos and no source code. Hope this helps George -----Original Message----- From: Bob Herrmann [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 28, 2004 10:17 AM To: [EMAIL PROTECTED] Subject: RE: [AspNetAnyQuestionIsOk] C# question Thanks Dean, Hey, can recommend a good C# learning web site? Looking at C#, I don't think it will take me too long to learn. It's just stuff like I had in my last post. -----Original Message----- From: Dean Fiala [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 28, 2004 10:09 AM To: [EMAIL PROTECTED] Subject: RE: [AspNetAnyQuestionIsOk] C# question Bob, string strConnect = ConfigurationSettings.AppSettings["NorthWind"]; will work C# uses [] to delimit array and collection elements. Dean -----Original Message----- From: Bob Herrmann [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 28, 2004 10:02 AM To: [EMAIL PROTECTED] Subject: [AspNetAnyQuestionIsOk] C# question Hi all, I have been developing apps using vb.net for some time now. My company has decided to also have the development staff learn C#. I am excited about this. So I have been messing around with C# today. But I am getting an error on the following statement: string strConnect = ConfigurationSettings.AppSettings("NorthWind"); Here is the error: C:\Inetpub\wwwroot\CSExample\CustomerSelect.aspx.cs(32): 'System.Configuration.ConfigurationSettings.AppSettings' denotes a 'property' where a 'method' was expected. I am confused on why the following statement works in vb.net: Dim strConnect As String = ConfigurationSettings.AppSettings("FundRaising") I do not get an error using this statement. Did I convert this to C# incorrectly? Thanks, Bob [Non-text portions of this message have been removed] Yahoo! Groups Links _____ Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED] cribe> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service < http://docs.yahoo.com/info/terms/> . [Non-text portions of this message have been removed] _____ Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED] cribe> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service < http://docs.yahoo.com/info/terms/> . [Non-text portions of this message have been removed] _____ Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED] cribe> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service < http://docs.yahoo.com/info/terms/> . [Non-text portions of this message have been removed] _____ Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> . [Non-text portions of this message have been removed] ------------------------ Yahoo! Groups Sponsor ---------------------~--> Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511 http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/saFolB/TM ---------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
