当前位置:编程学习 > C#/ASP.NET >>

请问单击DATAGRIDVIEW超链接所产生的事件代码是什么

就是在datagridview里面有一列超链接列,现在单击它之后要发生个事件,请问代码是什么? --------------------编程问答-------------------- DataGridViewLinkColumn
private void dataGridView_CellContentClick(object sender, DataGridViewCellEventArgs e) 

    if (e.ColumnIndex !=-1&&e.ColumnIndex==超链接列的索引) 
    {        
        System.Diagnostics.Process.Start("iexplore.exe", this.dataGridView.Rows[e.RowIndex].Cells[e.ColumnIndex].Value.ToString()); 
    } 

--------------------编程问答-------------------- 学习一下,谢谢了。。。。。。
补充:.NET技术 ,  C#
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,