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. Web Development
  3. ASP.NET
  4. error in asp.net

error in asp.net

Scheduled Pinned Locked Moved ASP.NET
csharpasp-nethelp
5 Posts 3 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.
  • D Offline
    D Offline
    dadax_85
    wrote on last edited by
    #1

    hey i'll know how i can catch error in asp.net DADAX -- modified at 13:51 Sunday 23rd April, 2006

    C 1 Reply Last reply
    0
    • D dadax_85

      hey i'll know how i can catch error in asp.net DADAX -- modified at 13:51 Sunday 23rd April, 2006

      C Offline
      C Offline
      CWIZO
      wrote on last edited by
      #2

      Please write so somebody can understand you. I didn't understood a word you said. -------------------------------------------------------- My development blog Q:What does the derived class in C# tell to it's parent? A:All your base are belong to us!

      D 1 Reply Last reply
      0
      • C CWIZO

        Please write so somebody can understand you. I didn't understood a word you said. -------------------------------------------------------- My development blog Q:What does the derived class in C# tell to it's parent? A:All your base are belong to us!

        D Offline
        D Offline
        dadax_85
        wrote on last edited by
        #3

        hey and sorry just i need to know how i can catch error in asp.net i hope that you understand me :( and thanks anyway DADAX

        G 1 Reply Last reply
        0
        • D dadax_85

          hey and sorry just i need to know how i can catch error in asp.net i hope that you understand me :( and thanks anyway DADAX

          G Offline
          G Offline
          gyokusei
          wrote on last edited by
          #4

          Using "try catch" block:

          try {
          // do something
          }
          catch( Exception ex ) {
          // do something if an error in try block occurs
          }

          D 1 Reply Last reply
          0
          • G gyokusei

            Using "try catch" block:

            try {
            // do something
            }
            catch( Exception ex ) {
            // do something if an error in try block occurs
            }

            D Offline
            D Offline
            dadax_85
            wrote on last edited by
            #5

            but the code is write in the file.asp coz i create datasource and formview and the command of add is writen in ASP so if i write try catch in the code VB or C# it's didn't worked i hope that you understand me DADAX

            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