C1.Olap Namespace > C1OlapEngine Class : BeginUpdate Method |
'Declaration
Public Sub BeginUpdate()
'Usage
Dim instance As C1OlapEngine instance.BeginUpdate()
public void BeginUpdate()
public procedure BeginUpdate();
public function BeginUpdate();
public: void BeginUpdate();
public: void BeginUpdate();
// set data source (populates Fields list) olap.DataSource = GetDataTable(); // prevent updates while building Olap view olap.BeginUpdate(); // show countries in rows olap.RowFields.Add("Country"); // show categories and products in columns olap.ColumnFields.Add("Category"); olap.ColumnFields.Add("Product"); // show total sales in cells olap.ValueFields.Add("Sales"); // done defining the view olap.EndUpdate();
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2