Click here to Skip to main content
14,237,873 members
Rate this:
Please Sign up or sign in to vote.
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.

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

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.

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

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100