You are here: Symbol Reference > Dew.Math Namespace > GridServices Class > GridServices Methods > ValuesToGrid Method > ValuesToGrid Method (TVec, DataGrid, int, int, int, int, string, bool, bool)
Dew Math for .NET
Contents
PreviousUpNext
GridServices.ValuesToGrid Method (TVec, DataGrid, int, int, int, int, string, bool, bool)

Copy Vector values subarray to DataGrid.

C#
public static void ValuesToGrid(TVec src, DataGrid grid, int gridrow, int gridcol, int index, int len, string format, bool headers, bool vertical);
Parameters
Parameters 
Description 
src 
Source vector. 
grid 
Destination grid. 
gridrow 
DataGrid start row index. 
gridcol 
DataGrid start column index. 
index 
Vector start index. 
len 
The size of elements to-be-copied. 
format 
Default cell string format. 
headers 
If true, include headers. 
vertical 
If true, vector represented as single column object, if false, vector is represented as single row object. 

Copies [index] to [index+len] Vector elements to DataGrid [gridrow,gridcol] to [gridrow+len,gridcol] or [gridrow,gridcol] to [gridrow,gridcol+len].

What do you think about this topic? Send feedback!
Copyright (c) 1999-2010 by Dew Research. All rights reserved.