请教怎么捕获datagridview中某一数据格中类似txtbox控件中的lostfocs事件

请问如何捕获datagridview中某一数据格中类似txtbox控件中的lostfocs事件
我在做一个批量录入的界面时候,需要把2个数据格的运算结果放到第3个数据格中,但是我找了半天都没看到datagridview控件中有类似lostfocs的事件,是不是datagridview不支持这个事件啊?小弟是个菜鸟,请各位大哥赐教。

------解决方案--------------------
你可以用键盘enter事件,
鼠标离开事件等啊
------解决方案--------------------
可以使用CellValidating事件。
------解决方案--------------------
.NET Framework 类库
DataGridView.CellValidating 事件
在单元格失去输入焦点时发生,并启用内容验证功能

Visual Basic(用法)
Dim instance As DataGridView
Dim handler As DataGridViewCellValidatingEventHandler

AddHandler instance.CellValidating, handler


面的代码示例处理 CellValidating 事件,以确保用户仅输入正整数。此示例摘自 VirtualMode 参考主题中提供的一个更大示例。

Private Sub dataGridView1_CellValidating(ByVal sender As Object, _
ByVal e _
As DataGridViewCellValidatingEventArgs) _
Handles dataGridView1.CellValidating

Me.dataGridView1.Rows(e.RowIndex).ErrorText = " "
Dim newInteger As Integer

' Don 't try to validate the 'new row ' until finished
' editing since there
' is not any point in validating its initial value.
If dataGridView1.Rows(e.RowIndex).IsNewRow Then Return
If Not Integer.TryParse(e.FormattedValue.ToString(), newInteger) _
OrElse newInteger < 0 Then

e.Cancel = True
Me.dataGridView1.Rows(e.RowIndex).ErrorText = "the value must be a non-negative integer "

End If
End Sub
------解决方案--------------------
还可以参考CellLeave事件,CellEndEdit事件等。