|
-
Jan 28th, 2011, 03:18 AM
#1
Thread Starter
Addicted Member
Need suggestion for webservices synchronous and asynchronous
Hi friends,
I have one small problem. I am using Asp.Net web services in my application. In aspx application i have a condition that
for sample,
if(a=0)
{
//here i call the storedprocedure
//return the value from sp and stored in dataset and bind in datagrid
}
else if(a>0)
{
//here i call the webservices
}
Please look up my above condition. In the else if condition suppose a is greater than zero i wil call webservices. But what i need that suppose the services are not returned the value within 4 seconds, i will need to go to first condition that is call stored procedure. I hope you understand.
How can we achieve this condition. I thought that we can achieve syncronous. But i dont know exactly about it. So please give a suggestion.
Hope yours reply
Thanks
Guvera
Failing to plan is Planning to fail 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|