X xenophon Feb 9, 2006 #1 I tried to put "using System.IO;" in my global.asax and Visual Studio 2005 would not let me compile. Why? Thanks.
I tried to put "using System.IO;" in my global.asax and Visual Studio 2005 would not let me compile. Why? Thanks.
J Juan T. Llibre Feb 9, 2006 #2 "using" is code-behind syntax. global.asax doesn't use code-behind any more. Try using <%@ Import Namespace="System.IO" %> Juan T. Llibre, asp.net MVP aspnetfaq.com : http://www.aspnetfaq.com/ asp.net faq : http://asp.net.do/faq/ foros de asp.net, en español : http://asp.net.do/foros/ ===================================
"using" is code-behind syntax. global.asax doesn't use code-behind any more. Try using <%@ Import Namespace="System.IO" %> Juan T. Llibre, asp.net MVP aspnetfaq.com : http://www.aspnetfaq.com/ asp.net faq : http://asp.net.do/faq/ foros de asp.net, en español : http://asp.net.do/foros/ ===================================
T tdavisjr Feb 10, 2006 #3 Juan said: "using" is code-behind syntax. global.asax doesn't use code-behind any more. Try using <%@ Import Namespace="System.IO" %> Click to expand... Thank goodness that they sill give you intellisense after you import your namespace for the Global.asax
Juan said: "using" is code-behind syntax. global.asax doesn't use code-behind any more. Try using <%@ Import Namespace="System.IO" %> Click to expand... Thank goodness that they sill give you intellisense after you import your namespace for the Global.asax
J Juan T. Llibre Feb 10, 2006 #4 re: Thank goodness that they sill give you intellisense after you import your namespace for the Global.asax Click to expand... Pretty cool, huh ? ;-) Juan T. Llibre, asp.net MVP aspnetfaq.com : http://www.aspnetfaq.com/ asp.net faq : http://asp.net.do/faq/ foros de asp.net, en español : http://asp.net.do/foros/ =================================== "using" is code-behind syntax. global.asax doesn't use code-behind any more. Try using <%@ Import Namespace="System.IO" %> Click to expand... Thank goodness that they sill give you intellisense after you import your namespace for the Global.asax
re: Thank goodness that they sill give you intellisense after you import your namespace for the Global.asax Click to expand... Pretty cool, huh ? ;-) Juan T. Llibre, asp.net MVP aspnetfaq.com : http://www.aspnetfaq.com/ asp.net faq : http://asp.net.do/faq/ foros de asp.net, en español : http://asp.net.do/foros/ =================================== "using" is code-behind syntax. global.asax doesn't use code-behind any more. Try using <%@ Import Namespace="System.IO" %> Click to expand... Thank goodness that they sill give you intellisense after you import your namespace for the Global.asax