Try Select Case process.datain Case "home" MOTable = selectMO(process.mo, process.mt) If MOTable.Rows.Count() = 0 Then If insertMO(process.mo, process.mt) Then writeMsg("1 MO inserted/updated at ") session("msg") = msgTable.Rows(7)(1).ToString() MsgBox(session("msg")) Else writeMsg("1 MO could not be inserted at ") End If Catch ex As Exception logFile("executeTimer ----" & ex.Message) Finally updateProcessed(process.id,session("msg")) End Try
session.add("msg", msgTable.Rows(7)(1).ToString())
System.Web.HttpContext.Current.Session("msg") = msgTable.Rows(7)(1).ToString()
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)