Click here to Skip to main content
15,887,845 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i m using 5 context of db2 while i required i use one of them & release after task is over. this process done in many time in my application but some cases it run ok while getting context but in some cases it dies

so i want to know what exact happen when we inatlise the context, get the context & reliease the context

it,s important me please help me

just i want the document which clear all this thing or your idea regarding this thing

please help me.
Posted

1 solution

open the datacontext where you need it and close it right after. Do not use one context for the whole form. Don't know the exact reason but it works this way.
 
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