Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Compiling myprogram.cs
Message
From
29/12/2006 17:10:08
 
 
To
29/12/2006 16:17:31
General information
Forum:
ASP.NET
Category:
Deployments
Miscellaneous
Thread ID:
01180878
Message ID:
01180991
Views:
15
>What is the significance of "@" when initializing the variable strConn?
>The code doesn't seem to work without it and I haven't seen it in other examples I've seen.
>>
string strConn = @"Provider=VFPOLEDB;Data source=
C:\Program Files\Microsoft Visual FoxPro 9\Samples\Data\testdata.dbc;";



It is a kind of replacement for escape sequence so you can easily write pathnames without having to double backslash everything.
http://msdn2.microsoft.com/en-us/library/362314fe.aspx


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform