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. how to create delay at server side function

how to create delay at server side function

Scheduled Pinned Locked Moved ASP.NET
sysadmintutorialquestion
3 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.
  • R Offline
    R Offline
    rama charan
    wrote on last edited by
    #1

    hi i want to implement delay at server side for a function can you say how can i do that.Do i need to use a control for that.or can it just be done with code...if anyone know a code to create a delay pls say any suggestions or links are welcome.. thanks in advance

    Rama Charan Prasad "Be happy and Keep smiling.Thats what u want be always..:)"

    S M 2 Replies Last reply
    0
    • R rama charan

      hi i want to implement delay at server side for a function can you say how can i do that.Do i need to use a control for that.or can it just be done with code...if anyone know a code to create a delay pls say any suggestions or links are welcome.. thanks in advance

      Rama Charan Prasad "Be happy and Keep smiling.Thats what u want be always..:)"

      S Offline
      S Offline
      Sathesh Sakthivel
      wrote on last edited by
      #2

      MSDN[^] This article will help you.

      Regards, Satips.

      1 Reply Last reply
      0
      • R rama charan

        hi i want to implement delay at server side for a function can you say how can i do that.Do i need to use a control for that.or can it just be done with code...if anyone know a code to create a delay pls say any suggestions or links are welcome.. thanks in advance

        Rama Charan Prasad "Be happy and Keep smiling.Thats what u want be always..:)"

        M Offline
        M Offline
        Mayank Parmar
        wrote on last edited by
        #3

        User System.Threading.Thread class. for example, If u want to dalay for 5 seconds at server side then, System.Threading.Thread.Sleep(5000); where argument is in miliseconds. Cheers.:-O

        Regards, Mayank Parmar Senior Software Engineer Amba Tech Gandhinagar, India

        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