By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,201 Members | 920 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,201 IT Pros & Developers. It's quick & easy.

datagridview, using calendar control selecting a date for column

P: n/a
Bob
How do I show a calendar control or another appropriate control to pick a
date and time for a cell in a column in a datagridview?

Thanks for any help.

Bob
Jun 7 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Bob,

There is a sample datetimer picker datagridview column in the
datagrid faq. There is a link on this vb-tips page

http://www.vb-tips.com/default.aspx?...5-e16db864a414

Ken
-----------------
"Bob" <bd*****@sgiims.com> wrote in message
news:Oh**************@TK2MSFTNGP05.phx.gbl...
How do I show a calendar control or another appropriate control to pick a
date and time for a cell in a column in a datagridview?

Thanks for any help.

Bob

Jun 8 '06 #2

P: n/a
Bob
Did not find info required at this location, found some info in msdn at
http://msdn2.microsoft.com/en-us/library/7tas5c80.aspx however datagridview
in sample is created in code, mine is created an put on the for and
localized, so I don't want to write oodles of code to get the datagridview
placed on the form and fitted in place. After all, that what the IDE is
suited for and its supposed to save us time.

Question is, I created the two classes (created new class file in project)
now I need to make the columnd of my datagridview2 control on my form to
display the datetimepicker in column named DateActivated. My datagridview
control is bound to a table in a dataset already. Its not obvious from the
sample how I host the control in the column in such a case. I know it needs
to get done in the form load event but the code escapes me.
Can you tell me how?

Thanks a lot in advance.
Bob

"Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message
news:e5**************@TK2MSFTNGP02.phx.gbl...
Bob,

There is a sample datetimer picker datagridview column in the
datagrid faq. There is a link on this vb-tips page

http://www.vb-tips.com/default.aspx?...5-e16db864a414

Ken
-----------------
"Bob" <bd*****@sgiims.com> wrote in message
news:Oh**************@TK2MSFTNGP05.phx.gbl...
How do I show a calendar control or another appropriate control to pick a
date and time for a cell in a column in a datagridview?

Thanks for any help.

Bob


Jun 8 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.