# EssGSendRows

Description

EssGSendRows() sends the rows to the server once an operation has been started.

Syntax

    ESSG_FUNC_M EssGSendRows (hGrid, pRangeIn, ppDataIn);

ESSG_HGRID_T | hGrid
ESSG_PRANGE_T | pRangeIn
ESSG_PPDATA_T | ppDataIn

Parameters

hGrid | Handle passed back from EssGNewGrid.
pRangeIn | Describes the extent of the data in ppDataIn.
ppDataIn | A two-dimensional array of cells describing the data.

Return Value

If successful, returns ESSG_STS_NOERR.

Notes

- Sends the rows to the server once an operation has been started.
- You can make multiple calls to EssGSendRows, but the pRangeIn->ulStartRow in each subsequent call must be greater than the last row sent in.
- The pRangeIn variable should define the rows in the grid.
- If you are sending in multiple buffers of data, each subsequent call to EssGSendRows should update the rows in the pRangeIn parameter.
- After all rows are sent in, you can call EssGPerformOperation.

Access

None.

Example

         sts = EssGSendRows(hGrid, &rDataRangeIn, ppDataIn);

See an example that uses this code in the EssGBeginRetrieve Example section.

See Also

Using the Grid API Functions
Grid API Structures