473,320 Members | 1,831 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.

datagridview, using calendar control selecting a date for column

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
2 15140
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: JingleBEV | last post by:
Hi all, I have a masked text control that would return a date in string format via the mask property like: "9/23/2004" and i have a calendar control that would pop up when I click a command...
3
by: Bob Weisenburger | last post by:
I have several active-x calendar controls in my access database. I can't seem to figure out how to set the date on the calendare. In the "on open" event of my form, I create the following line of...
3
by: Stephajn Craig | last post by:
How can I implement the Calendar Control in a popup Window so that when a user selects a date that the selected date is passed into a textbox on the page that opened the Calendar? Can anyone...
0
by: Jimmy | last post by:
I am using Calendar control in my ASP.Net application. When the user clicks a command button, I am making it(calendar control) visible. Once the user selects the date, I am making calendar contol...
3
by: Peter | last post by:
Is there anyway to make the System.Web.UI.WebControls.Calendar to display only Month Name and Year, like: January, 2006 February, 2006 ..... .... .... ....
0
by: K B | last post by:
I finally figured out how to use the Calendar Control in DetailsView edit, HOWEVER, it's awkward having the control show. My users are used to having an image to click on then bring up a pop-up...
4
by: raghav | last post by:
Hi Friends I am having very small issue. I am using calendar control which is available in .net 2005 to display date. When a user clicks on image button, calendar is opening very well. He selects...
0
by: Robert Johnson | last post by:
Hi all. I have a datagrid with a couple of coulums that are datetime and I want the user to be able to use pulldown calendar to select the date. Does MS have a built in one or do I need a third...
2
by: saichaitanya | last post by:
Hi, I am using asp calendar control in my application and i'm expecting the selected date as todays date from it during the page load.But instead it is giving me the selected date as "12:00:00...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
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: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.