Hello,
I have a T-SQL script which weights around 24mb in size (yeah, it's pretty big) and I need my web server to execute it (using Sql.Connection. ExecuteNonQuery ).
It works fine on my development environement (it takes a while to perform the call, but that's OK). But when I try it on my web server, it runs out of memory.
Actually, it looks it's the C# string that runs out of memory.
My .NET process...
User Profile
Collapse
-
C# string and ExecuteNonQuery - Out of Memory
-
Doing my own caching of Custom Controls in ASP C#
Hi,
I am trying to cache a custom control so that I do not have to call LoadControl ("MyControl.asc x" ) every time my OnInit function is called. So, I do this:
...Code:object cachedctrl = Session["cachedcontrol"]; if ( cachedctrl != null ) { Controls.Add ( (Control)cachedctrl ); return; } Control ctrl = LoadControl ( "MyControl.ascx" ); Controls.Add ( ctrl
No activity results to display
Show More