2
Answers

How to Execute function to refresh asp.net page according to time(30 seconds)

mohammad qasim

mohammad qasim

14y
2.2k
1
How can we Reload or Refresh Asp.net page automatically according to time

For Example

Whats the best way to manage it

When User Click an asp.net button I want to execute a function which takes some paramter and execute for 30 seconds . After 30 seconds it stops executing function and return the data from sqlserver(db) and bind into grid so Only specific Region should get changed not whole page becuase i have 3 grids on page and 1 grid should get refreshed

Whats the best way to manage it
Answers (2)
0
Sam Hobbs

Sam Hobbs

NA 28.7k 1.3m 13y
I don't know. I have spent some time trying to figure out what to do; I have spent as much time as I should allow for this.

Have you looked at Compile and Link Considerations? If not then that is likely to help. If you have not added Advapi32.lib to the list of libraries for the project then do that.
0
Gaurav Sharma

Gaurav Sharma

NA 19 39.9k 13y
    I have taken that code from microsoft website and link is as follows

http://msdn.microsoft.com/en-us/library/ms867026.aspx

  You will code from mention wording from site "Download the associated CertificateEnrollmentSamples.exe."

  And try to compile "PKCS10AltSubName.cpp" code.I thought crypt32lib was missing but i have found it in the SDK folder. So unable to know the real cause of issue.


0
Sam Hobbs

Sam Hobbs

NA 28.7k 1.3m 13y
The code is not attached. Instead of attaching the code, if you can tell us where you got the code from, then that will help.

Is the code C++? I assume it is. Those error messages are from the link editor which is executed after the C++ compiler. There is probably an #include or possibly an #import missing, but this is an area with a lot of confusing details. Your best chance of sovling the problem is to read what the web site says where you got the code from. There is likely something you are overlooking.