# Basic Operations

## Content

The Combo control lets you perform some basic operations such as adding items, removing items, and much more. Please note that you need to set the value of <span data-popup-content="This property is available in \u003ca href=\u0022/componentone/docs/win/online-list/\u0022\u003e.NET\u003c/a\u003e and \u003ca href=\u0022/componentone/docs/win/online-list/\u0022\u003e.NET Framework\u003c/a\u003e." data-popup-title="DataMode" data-popup-theme="ui-tooltip-green qtip-green">DataMode</span> property of the <span data-popup-content="This class is available in \u003ca href=\u0022/componentone/docs/win/online-list/\u0022\u003e.NET\u003c/a\u003e and \u003ca href=\u0022/componentone/docs/win/online-list/\u0022\u003e.NET Framework\u003c/a\u003e." data-popup-title="C1Combo" data-popup-theme="ui-tooltip-green qtip-green">C1Combo</span> class to add list items to Combo.

Lets explore how you can perform these operations on combo list items.

## Add Items

You can add items to the list using **AddItem** method of the **C1Combo** class. The AddItem method allows you to populate individual rows within the list. Please note that the default AddItem separator is semicolon ";". However, you can choose a custom separator by setting [AddItemSeparator](/componentone/api/win/online-list/dotnet-api/C1.Win.List.10/C1.Win.List.C1Combo.AddItemSeparator.html) property of the C1Combo class.

Use the following code snippet to add rows to the Combo control.

```csharp
c1Combo1.AddItem("Smith; Elm St.;5887552");
c1Combo1.AddItem("John; Oak St.;6336958");
c1Combo1.AddItem("Aron; Silver Canoe Way;5869658");
```

## Insert Items

You can use **InsertItem** method of the C1Combo class to insert an item at the specified position. The following code demonstrates how to insert the second row in the combo box list.

```csharp
c1Combo1.InsertItem("Joseph; Loch Ness Road ;7856247", 1);
```

## Remove Item

The **RemoveItem** method allows you to remove rows by specifying the index of the row that you want to delete. The following code demonstrates how to remove the selected row from the Combo control:

```csharp
c1Combo1.RemoveItem(this.c1Combo1.SelectedIndex);
```

## Clear Items

The **ClearItems** method removes all items from the list population. The following code removes the entire population from the combo box list.

```csharp
c1Combo1.ClearItems();
```