M
Marc Stober
Hi,
I am thinking that it would be a good idea to use .NET resources to
store SQL statements that would otherwise be hard-coded into an
application. I could even store them in a text file as shown in
<http://msdn.microsoft.com/library/en-us/cpguide/html/cpconresourcesinte
xtfileformat.asp>. But I don't see any examples of using resources this
way or how to instantiate a ResourceManager from a text file, so I'm
wondering if I'm going about this the best way? Note that I'm using
WebMatrix to build an ASP.NET application so I'm not explicitly
compiling the resources into an assembly or anything.
Thank you in advance,
Marc
I am thinking that it would be a good idea to use .NET resources to
store SQL statements that would otherwise be hard-coded into an
application. I could even store them in a text file as shown in
<http://msdn.microsoft.com/library/en-us/cpguide/html/cpconresourcesinte
xtfileformat.asp>. But I don't see any examples of using resources this
way or how to instantiate a ResourceManager from a text file, so I'm
wondering if I'm going about this the best way? Note that I'm using
WebMatrix to build an ASP.NET application so I'm not explicitly
compiling the resources into an assembly or anything.
Thank you in advance,
Marc