Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. OutOfMemoryException

OutOfMemoryException

Scheduled Pinned Locked Moved C#
helpquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    ptvce
    wrote on last edited by
    #1

    i write this code : when i debuged , in line 5 i see this error : "Exception of type 'System.OutOfMemoryException' was thrown." do u know what should i do? 1- HtmlTextWriter htmlWrite = new HtmlTextWriter(stringWriter); 2- DataGrid DataGrd = new DataGrid(); 3- DataGrd.DataSource = dsGrid; 4- DataGrd.DataBind(); 5- DataGrd.RenderControl(htmlWrite);

    Richard DeemingR 1 Reply Last reply
    0
    • P ptvce

      i write this code : when i debuged , in line 5 i see this error : "Exception of type 'System.OutOfMemoryException' was thrown." do u know what should i do? 1- HtmlTextWriter htmlWrite = new HtmlTextWriter(stringWriter); 2- DataGrid DataGrd = new DataGrid(); 3- DataGrd.DataSource = dsGrid; 4- DataGrd.DataBind(); 5- DataGrd.RenderControl(htmlWrite);

      Richard DeemingR Offline
      Richard DeemingR Offline
      Richard Deeming
      wrote on last edited by
      #2

      You've already posted this question in the ASP.NET forum: http://www.codeproject.com/Messages/4664795/exception-of-type-system-outofmemoryexception-was-.aspx[^]


      "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

      "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups