Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
3
Reply
Got ObjectDisposedExceptionerror after opening
Mustafa TURK
Aug 2 2017 7:56 PM
175
Reply
I get ObjectDisposedException after opening of the program.
The program is a form app and uses sqlite. I think it happens because I try to access form elements. I read some articles about this issue but I could not resolve.
Form(){
CheckForIllegalCrossThreadCalls = false;
// other codes
}
private void button1_Click(object sender, EventArgs e)
{
panel1.Visible = false;
panel2.Visible = true;
List
products = new DbOperations().getAllProducts();
BindingSource source = new BindingSource();
source.DataSource = products;
dataGridView1.DataSource = source;
}
at this point, I got that error.
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
3
)
Next Recommended Forum
lock óbject /statement
set value of txtbox inside iframe of different domain.