Private Sub BrainGrid5_DoubleClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles BrainGrid5.DoubleClick Dim strData1 As String = Me.GridView5.GetFocusedRowCellValue("MMProd_ID") If GridView5.FocusedColumn.FieldName = "MMProd_DM_Name" Then ShowDetails("JobProd_ProdID", strData1, "=", "vPP_JobProd_Execute_FinishProd_1", "工票信息") End If End Sub
MMProd_ID 视图的主键
JobProd_ProdID 视图的外键