[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.ITable.BindingPath

BindingPath Property

BindingPath

Gets or sets the binding path of the current table.

The binding path identifies the data path used when the table is bound to a data source.

Declaration
string BindingPath { get; set; }
Property BindingPath As String
Examples
worksheet.DataSource = new JsonDataSource(
    "{\"sales\":[{\"name\":\"Alice\",\"amount\":100},{\"name\":\"Bob\",\"amount\":200}]}");
ITable table = worksheet.Tables.Add(worksheet.Range["A1:B3"], true);
table.Columns[0].DataField = "name";
table.Columns[1].DataField = "amount";
table.BindingPath = "sales";
string bindingPath = table.BindingPath;