First add a CellClick event in Formdesigner for the DataGridView as below:
this.dataGridView1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellClick);
Then add following code in your form to get cell address:
<pre lang="cs">private void dataGridView1_CellClick(object sender, DataGridViewCellEventArgs e)
{
Point p = dataGridView1.CurrentCellAddress;
MessageBox.Show(p.X.ToString(), p.Y.ToString());
}
Hope this will help you.