Visual Basic (Declaration) | |
---|---|
Public Overloads Function GetProcessedDataTable( _ ByVal tokenTemplate As String, _ ByVal transposeData As Boolean, _ ByVal addSeriesName As Boolean, _ ByVal header As String _ ) As DataTable |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public DataTable GetProcessedDataTable( string tokenTemplate, bool transposeData, bool addSeriesName, string header ) |
Parameters
- tokenTemplate
- transposeData
- addSeriesName
- header
Return Value
Returns a data table of the processed data.The follwoing sample, get a data table and displays with a datagrid. For complete
sample see features/PostDataProcessing.aspx
C# | Copy Code |
---|---|
//This line should add in Page_Load method |
Visual Basic | Copy Code |
---|---|
'This line should add in Page_Load method |
This method usually called in PostDataProcessing event handler method when data
generated dynamically from a database. Then, the datatable can be displayed with
dataGrid or other controls.