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. how to notify the .Net application about the alerts in database?

how to notify the .Net application about the alerts in database?

Scheduled Pinned Locked Moved C#
csharpdatabasesql-serversysadmintutorial
3 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.
  • S Offline
    S Offline
    sundar156
    wrote on last edited by
    #1

    hi, How do we notify the application about alerts in the database. Actually i have created an alert in the database and it gets called whenever an update occurs in the database.how does the application gets to know that an alert has been called?the database is SQL Server 2000 and im using c#.

    people laugh at me because they say im different and I laugh at them because they are all the same.

    C 1 Reply Last reply
    0
    • S sundar156

      hi, How do we notify the application about alerts in the database. Actually i have created an alert in the database and it gets called whenever an update occurs in the database.how does the application gets to know that an alert has been called?the database is SQL Server 2000 and im using c#.

      people laugh at me because they say im different and I laugh at them because they are all the same.

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Do you mean a trigger ? You can't.

      Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog

      S 1 Reply Last reply
      0
      • C Christian Graus

        Do you mean a trigger ? You can't.

        Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog

        S Offline
        S Offline
        sundar156
        wrote on last edited by
        #3

        Not triggers actually.You have "sp_add_alert" like http://msdn2.microsoft.com/en-us/library/aa259587(SQL.80).aspx by this you can create a database alert .I just wana know how to notify the alert to the application.

        people laugh at me because they say im different and I laugh at them because they are all the same.

        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