C1.Silverlight.Olap.5 Assembly > C1.Olap Namespace > C1OlapEngine Class : BeginUpdate Method |
// 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();