public static void GetListPostAction(DataRow inputRow, DataTable dataTable, DataObjectStore store) { foreach (object obj in dataTable.Rows) { DataRow dataRow = (DataRow)obj; dataRow["ExDTNotAfter"] = ((ExDateTime)((DateTime)dataRow["NotAfter"])).ToShortDateString(); CertificateHelper.TranslateStatusIntoShortDescription(dataRow); } }
public static void GetSDOPostAction(DataRow inputRow, DataTable table, DataObjectStore store) { DataRow dataRow = table.Rows[0]; if (!DBNull.Value.Equals(dataRow["IsSelfSigned"])) { dataRow["CertType"] = (((bool)dataRow["IsSelfSigned"]) ? Strings.SelfSignedCertificate.ToString() : Strings.CASignedCertificate.ToString()); } if (!DBNull.Value.Equals(dataRow["NotAfter"])) { dataRow["ExDTNotAfter"] = ((ExDateTime)((DateTime)dataRow["NotAfter"])).ToShortDateString(); } CertificateHelper.TranslateStatusIntoShortDescription(dataRow); }