Private Sub gvManualRenewal_CellContentClick(sender As System.Object, e As System.Windows.Forms.DataGridViewCellEventArgs) Handles gvManualRenewal.CellContentClick Try If (e.ColumnIndex = 14) Then Dim gvrow As DataGridViewRow gvrow = gvManualRenewal.SelectedRows(0) PolicyID = gvrow.Cells(15).Value Dim clsReportLink As New SearchPolicyMgr Dim dsReportLink As DataSet dsReportLink = clsReportLink.GetReportsLink("IMS Policy Loss Ratio") Dim ReportLink As String = "" ReportLink = dsReportLink.Tables(0).Rows(0)(1).ToString() Process.Start("IExplore.exe", ReportLink) End If Catch ex As Exception 'MessageBox.Show("Unable to load the report." & vbCrLf & "Error Detail:" & ex.Message, "Expiring Policies", MessageBoxButtons.OK, MessageBoxIcon.Error) End Try End Sub
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)