Click here to Skip to main content
15,884,664 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am fetching values from Database using RPC method.

It basically involves 3 methods which executes one by one.

It runs like a thread so before finishing that RPC other methods gets executed.
Thus my process gets failed.

How to Make a particular RPC run that other statements.
Posted
Comments
ZurdoDev 9-Oct-14 8:03am    
I would suggest you click Improve question and show some relevant code.

1 solution

Now c# provide task based programing you can implement it.

refer below link

http://msdn.microsoft.com/en-us/library/dd537609%28v=vs.110%29.aspx[^]

The Basics of Task Parallelism via C#[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900