467,905 Members | 1,922 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,905 developers. It's quick & easy.

Error "object reference not set to instance of an object" when trying to set datasource property of a bound column in datagrid control

Hello again!

I have a datagridview control on my form and am using VS.Net 2005. One
column is set up as combo box column, and when I try to set the datasource
for that combobox column at design time in the properties section of VS, I
get the error "object reference not set to instance of an object" and the
only option is to click OK.

I have not yet tried to set that datasource at runtime, but of course I
could do that. But I don't understand why now I cannot do it at design time,
while I could do it with another datagridview on the same form! Any hints?

For the binding I have set up a bindingsource object already...

Martin
Jan 23 '06 #1
  • viewed: 1777
Share:

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by =?Utf-8?B?QmFkaXM=?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.