• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Edit
Show / Hide Table of Contents

Delete a Row

Some tooltip text!
• 1 minute to read
 • 1 minute to read

To delete a Row, we have to use the Delete() method of that row.

The following example shows you how easily this can be done.

using SuperOffice;
using SuperOffice.CRM.Rows;
using(SoSession newSession = SoSession.Authenticate("SAL0", ""))
{
  //Retrieve the row to be deleted
  ContactRow myContactRow = ContactRow.GetFromIdxContactId(125);

  //Delete the row
  myContactRow.Delete();
}

Before we delete any row, we have to retrieve the Row. Once a Row is retrieved, we can simply use the Delete() method and remove that particular row from the database.

Note

There is no "undelete" option. Hence, once it’s saved the record is gone forever.

In This Article
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top