public CResult UpdateHomeGRTable() { try { conn = oConnManager.GetConnectionForRemote(); if (conn != null) { SqlCommand oCommand = new SqlCommand("Update t_GRMstr set GRMatr_IsImported=1", conn); oCommand.CommandType = CommandType.Text; oCommand.ExecuteNonQuery(); oConnManager.Commit(); oResult.IsSuccess = true; } } catch (SqlException e) { oResult.IsSuccess = false; oConnManager.Close(); } finally { } return(oResult); }