We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

ObjectDisposedException: Cannot access a disposed object named "TextBox".

Thread ID:

Created:

Updated:

Platform:

Replies:

5456 Jul 3,2003 08:38 AM UTC Sep 8,2003 03:58 AM UTC Windows Forms 1
loading
Tags: FAQ
Raphael
Asked On July 3, 2003 08:38 AM UTC

Hello everybody, I'm have a problem and I hope that somebody can help me! I have a MDI form application. When i my MDI Container i create a Global Dataset that I'm gonna use on all the form. When I open a MDI Child (let's say form1) I begin to work without any problem. But As soon as I close the form1 and then I open it again an execption raises: An unhandled exception of type 'System.ObjectDisposedException' occurred in system.dll Additional information: Cannot access a disposed object named "TextBox". This appens when I try to do the following operation: Me.BindingContext(ds, "Table1").AddNew() I can figure out what I'm durig wrong Thanx for help and sorry fr my english Raphael

Harry
Replied On September 8, 2003 03:58 AM UTC

Hi Raphael, did you ever get the solution to the problem you were having? I'm having the exact same issue. This .NET stuff is gonna drive me crazy, VB6 was so easy! > Hello everybody, > I'm have a problem and I hope that somebody can help me! > I have a MDI form application. > When i my MDI Container i create a Global Dataset that I'm gonna use on all the form. > When I open a MDI Child (let's say form1) I begin to work without any problem. But As soon as I close the form1 and then I open it again an execption raises: > > An unhandled exception of type 'System.ObjectDisposedException' occurred in system.dll > > Additional information: Cannot access a disposed object named "TextBox". > > This appens when I try to do the following operation: > Me.BindingContext(ds, "Table1").AddNew() > > I can figure out what I'm durig wrong > > Thanx for help and sorry fr my english > > Raphael

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;