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
H

hammdo

@hammdo
About
Posts
5
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to get error number in global.asax
    H hammdo

    The Exception Class has a protected member for HRESULT . If you derive a class from System.Exception, you can get access to that value. That should contain any 'number' associated to the error (if one was generated). HRESULT has 3 parts to it: a severity code, a facility code, and an error code. There is more detail here: http://msdn2.microsoft.com/en-us/library/system.exception.hresult(VS.71).aspx Example is there. Hope that helps... -Don

    ASP.NET help tutorial

  • Export to excel Sheet
    H hammdo

    Try this: http://www.codeproject.com/aspnet/Excel_CSV_export_button.asp[^] -Don

    ASP.NET question

  • Getting functions like IsFloat(),IsInteger() in c# ( ASP.NET)
    H hammdo

    One technique you can use is to include the Microsoft.VisualBasic dll and use the 'IsNumeric()' method. Just add a reference to the Microsoft.VisualBasic (assuming .NET 2.0 and assuming you've installed VB.NET) and then you can do this: Microsoft.VisualBasic.Information.IsNumeric("123"); Microsoft.VisualBasic.Information.IsDate("3/21/2007"); There are other available methods so you can review to see if any fit your needs... -Don

    ASP.NET csharp asp-net

  • How to get error number in global.asax
    H hammdo

    Kumar: I've used this technique from MS and it has worked very well: [^] Looks for the 'global.asax' example (its in VB.NET but can be easily converted to C#) -Don

    ASP.NET help tutorial

  • how to determine Session is Alive or not
    H hammdo

    You can also use the global.asax and use the session time out method. With that you can redirect the user to a login page or a 'default' page for session timeout information. e.g., // this is inside the global.asax void Session_End(object sender, EventArgs e) { // Code that runs when a session ends. // Note: The Session_End event is raised only when the sessionstate mode // is set to InProc in the Web.config file. If session mode is set to StateServer // or SQLServer, the event is not raised Server.Transfer("login.aspx"); } why Server.Transfer? here is more info on the do's and dont's http://www.developer.com/net/asp/article.php/3299641[^]

    ASP.NET csharp asp-net help tutorial question
  • Login

  • Don't have an account? Register

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