You are here: Symbol Reference > Dew.Math Namespace > GridServices Class > GridServices Methods > PrepareGrid Method
Dew Math for .NET
Contents
PreviousUpNext
GridServices.PrepareGrid Method

Prepares DataGrid or for viewing matrix or vector values.

C#
public static void PrepareGrid(DataGrid grid, int rows, int cols);
Parameters
Parameters 
Description 
grid 
Prepared datagrid 
rows 
number of rows in datagrid.DataSource. 
cols 
number of columns in datagrid.DataSource 

You must call this routine prior to using any of the ValuesToGrid(TVec, DataGrid, int, int) routine overloads.

ValuesToGrid(TVec, DataGrid, int, int)

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