Spread ASP.NET 14
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / MultiColumnComboBoxCellType Class / DataSourceID Property

In This Topic
    DataSourceID Property (MultiColumnComboBoxCellType)
    In This Topic
    Gets or sets the unique identifier of the data source for the MultiColumnComboBoxCellType.
    Public Property DataSourceID As String
    Dim instance As MultiColumnComboBoxCellType
    Dim value As String
    instance.DataSourceID = value
    value = instance.DataSourceID
    public string DataSourceID {get; set;}
    DataSourceID is the control ID of an IDataSource that will be used as the data source.
    This example sets the DataSourceID property.
    FarPoint.Web.Spread.MultiColumnComboBoxCellType mccbct = new FarPoint.Web.Spread.MultiColumnComboBoxCellType();
    mccbct.ShowButton = true;
    mccbct.DataColumn = 0;
    mccbct.ColumnEdit = 1;
    mccbct.DataSourceID = "SpreadDataSource1";
    FpSpread1.Sheets[0].Cells[0,0].CellType = mccbct;
    Dim mccbct As New FarPoint.Web.Spread.MultiColumnComboBoxCellType
    mccbct.ShowButton = True
    mccbct.DataColumn = 0
    mccbct.ColumnEdit = 1
    mccbct.DataSourceID = "SpreadDataSource1"
    FpSpread1.Sheets(0).Cells(0, 0).CellType = mccbct
    See Also