...
If a multidimensional array (Object[,]
) or a jagged array (Object[][]
) contains multiple rows, PowerPointWriter will import all the rows using built-in repeating behavior. To import a single row of data using a multidimensional or jagged array, the array can only contain a single row of data. For more information about using arrays to import multiple rows of data, please see Importing Multiple Rows of Data.
Example:
Code Block | |||||||
---|---|---|---|---|---|---|---|
| |||||||
string[] values = {"Hello World", "subtitle"}; string[] colNames = {"header", "subtitle"}; DataBindingProperties DataProps = pptt.CreateDataBindingProperties(); pptt.BindData(values, colNames, "DataSource1", DataProps); {code | |||||||
:vbnet | vbnet | |title | =vb.net | }
Dim values = New String() {"Hello World", "subtitle"}
Dim colNames = New String() {"header", "subtitle"}
Dim DataProps As DataBindingProperites = pptt.CreateDataBindingProperties();
pptt.BindData(values, colNames, "DataSource1", DataProps);
|
...