How to convert an existing bound column to use a datetime picker

B

Bob

I saw the example at http://msdn2.microsoft.com/en-us/library/7tas5c80.aspx
However that deals with a simple unbound column that's created on the fly.

I have an existing datagrid view column - named colDateActivation to which
in which I need to embed the use of a date time picker.

the code sinppet that does that in the sample is in the sample's form1 form
load event is

Dim col As New CalendarColumn()
Me.dataGridView1.Columns.Add(col)

I guess in my case I would need to replace the
Me.dataGridView1.Columns.Add(col) with something else but I can't get my
finger on it.

Any help would be appreciated, I've been at this for a few dauys now and I
really would like to move forward.

Bob
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top