ambika, sorry, but you've given us virtually nothing to go on. Is this a run-time error? An error in the designer, or elsewhere in the IDE? It might help if you explain the exact steps that lead up to the error, when specifically the error occurs, and what message, if any, it gives you, as well as details.