468,133 Members | 1,609 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

DateTimePicker in DataGridView Msdn2 example

Ok, I'm trying to make a column in my data grid be a DateTimePicker column.
I copied and pasted all the code from the msdn website. Now, the difference in my code and the microsoft code is that my datagrid is not in the startup form. Also, the form it's in is an MdiChild.

So I get errors when the form containing the datagrid is opened.

Next, when i go and take out the whole mdichild thing, the form with the datagrid won't recognize the control inputs. The first command I have in the onLoad function is setting a checkbox. It says "Object Reference not set to the instance of an object". So basically it's not recognizing it's own inputs.

Does someone now how to fix this? Thank you very much
Apr 25 '07 #1
0 2862

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by mfleet1973 | last post: by
7 posts views Thread by Mitchell S. Honnert | last post: by
1 post views Thread by Rinaldo | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.