473,320 Members | 2,097 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

clicking on a DataGridView's DataSource property throws exception in designer

PJ6
If I have a DataGridView in my form, when I click on the DataSource
property, I get a message box displaying the exception message, "Object
reference not set to instance of an object."

What's even more amusing is if I try to set the property using the little
box that pops up immediately after I add a DataGridView to my form, the IDE
crashes.

Uh... is there a fix for this?

Paul

P.S. No I'm not using the Beta or ever had it installed...
Oct 6 '06 #1
3 1428
What version are you using? Any Add-ins powerpacks installed? Have you
made any changes to the DataGridView? Does the error occur in all
projects or just this one? Does it occur with every DataGridView or
just this one?

Thanks,

Seth Rowe
PJ6 wrote:
If I have a DataGridView in my form, when I click on the DataSource
property, I get a message box displaying the exception message, "Object
reference not set to instance of an object."

What's even more amusing is if I try to set the property using the little
box that pops up immediately after I add a DataGridView to my form, the IDE
crashes.

Uh... is there a fix for this?

Paul

P.S. No I'm not using the Beta or ever had it installed...
Oct 6 '06 #2
PJ6
2005, none, no, yes, yes.

Looks like this is just my machine, I'm just going to re-install.

Thanks,
Paul

"rowe_newsgroups" <ro********@yahoo.comwrote in message
news:11*********************@m7g2000cwm.googlegrou ps.com...
What version are you using? Any Add-ins powerpacks installed? Have you
made any changes to the DataGridView? Does the error occur in all
projects or just this one? Does it occur with every DataGridView or
just this one?

Thanks,

Seth Rowe
PJ6 wrote:
>If I have a DataGridView in my form, when I click on the DataSource
property, I get a message box displaying the exception message, "Object
reference not set to instance of an object."

What's even more amusing is if I try to set the property using the little
box that pops up immediately after I add a DataGridView to my form, the
IDE
crashes.

Uh... is there a fix for this?

Paul

P.S. No I'm not using the Beta or ever had it installed...

Oct 7 '06 #3
Also they have released a service pack, but it's only in beta form
right now. Maybe that will help - I don't remember the URL but a few
searches on this ng or the microsoft / msdn sights should turn up the
download.

Thanks,

Seth Rowe
PJ6 wrote:
2005, none, no, yes, yes.

Looks like this is just my machine, I'm just going to re-install.

Thanks,
Paul

"rowe_newsgroups" <ro********@yahoo.comwrote in message
news:11*********************@m7g2000cwm.googlegrou ps.com...
What version are you using? Any Add-ins powerpacks installed? Have you
made any changes to the DataGridView? Does the error occur in all
projects or just this one? Does it occur with every DataGridView or
just this one?

Thanks,

Seth Rowe
PJ6 wrote:
If I have a DataGridView in my form, when I click on the DataSource
property, I get a message box displaying the exception message, "Object
reference not set to instance of an object."

What's even more amusing is if I try to set the property using the little
box that pops up immediately after I add a DataGridView to my form, the
IDE
crashes.

Uh... is there a fix for this?

Paul

P.S. No I'm not using the Beta or ever had it installed...
Oct 8 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Steve | last post by:
Hi- OK, I've got a DataGridView, I've created a BindingSource from one of my Business Entity object (based on generated classes from EntitySpaces) I've left the default column setup so that all...
3
by: michael sorens | last post by:
I have generated an XmlDocument, then bound it to a DataGridView (thanks to a pointer from PeterBromberg in a separate, recent posting). Now I want to connect a BindingNavigator, but my rudimentary...
3
by: sklett | last post by:
I'm changing from a DataGrid to a DataGridView and have run across a problem. The items that are bound to the DataGrid have an int Property that represents a primary key of a lookup table in my...
3
by: finleeds | last post by:
hi all I m using the visual studio designer to create 1 Dataset with 1 table with 3 columns : Id, Name, Birthday. Once this done, still with the designer, I m creating a datagridview and...
7
by: Ryan | last post by:
I have a DataGridView which displays numeric (Int32) data from an underlying database. I want the numbers to be displayed in numeric format "#,###" (with commas). I want to also limit the user so...
2
by: nospam | last post by:
I have code that is working in one place but not another. In one spot, you click a button to open an XML file and have it read into a dataset. I then set the datasource of my datagrid to the...
7
by: =?Utf-8?B?TG9zdEluTUQ=?= | last post by:
Hi All :) I'm converting VB6 using True DBGrid Pro 8.0 to VB2005 using DataGridView. True DBGrid has a MultipleLines property that controls whether individual records span multiple lines. Is...
1
by: preeethi | last post by:
Hello, I'm designing a DataGridView that has a few combobox columns. As the user selects a value from a ComboBoxCell in a row. I want to populate another ComboBoxCell in the same row with the...
1
by: weird0 | last post by:
I am assigning an arrlist to the datasource property of the datagridview. In short, i want to update the datagridview. But the moment, i assign it. The application crashes. It does not display the...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.