From 2c8e0a127582ab037653a4d8ab804916780398c4 Mon Sep 17 00:00:00 2001 From: MikeMaximus Date: Thu, 28 Dec 2017 13:18:10 -0600 Subject: [PATCH] Fix for session delete --- GBM/Forms/frmSessions.vb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GBM/Forms/frmSessions.vb b/GBM/Forms/frmSessions.vb index faf812f..f7a76a2 100644 --- a/GBM/Forms/frmSessions.vb +++ b/GBM/Forms/frmSessions.vb @@ -116,8 +116,8 @@ Public Class frmSessions For Each dgvRow As DataGridViewRow In dgSessions.SelectedRows oSession = New clsSession oSession.MonitorID = dgvRow.Cells(0).Value - oSession.SessionStart = dgvRow.Cells(2).Value - oSession.SessionEnd = dgvRow.Cells(3).Value + oSession.SessionStart = dgvRow.Cells(iStartDisplayCol).Value + oSession.SessionEnd = dgvRow.Cells(iEndDisplayCol).Value oSessions.Add(oSession) Next