Hi,
Sorry, I can’t reproduce.
I use the following code.
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
ColumnaCalendario cc = new ColumnaCalendario();
cc.Name = "test";
cc.HeaderText = "test";
dataGridView1.Columns.Insert(0,cc);
}
private void button1_Click(object sender, EventArgs e)
{
Console.WriteLine(dataGridView1.Rows[0].Cells[0].Value.ToString());
}
}
// copy your code
public class ColumnaCalendario : DataGridViewColumn
{
public ColumnaCalendario()
: base(new CeldaCalendario())
{
}
}
public class CeldaCalendario : DataGridViewTextBoxCell
{
public CeldaCalendario()
: base()
{
}
public override object DefaultNewRowValue
{
get
{
return DateTime.Today;
}
}
}
And When I click the cell:
( If you can’t see the image, you can click Image link: http://6gugmq.bay.livefilestore.com/y1pJG70tOc3Al0pTd3SnNcnpQIXRarPp0pizMfN2m7C59KKvjMapoYfUazPrktAbRLQghyR_uz8s4Js2zDBT6gZrCTrNg8Vn_UU/form7.jpg )

I think I must miss something. Could you please provide more details or make a demo project for us to test? Please upload your demo project to some server and offer us the URL. Skydrive (http://skydrive.live.com/ ) may be a good option. You can sign up 25GB free space only with your Windows Live Passport.
Best regards,
Ling Wang
Please remember to click “Mark as Answer�on the post that helps you, and to click “Unmark as Answer�if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.