MapWinGIS:Table CellValue

This is a back-up of the WIKI.
Not all links might work
We're working on a new wiki.

Main Page | Recent changes | View source | Page history | Log in / create account |

Printable version | Disclaimers | Privacy policy

CellValue

Gets the value of the specified cell in the table.


VB.NET Usage

ReadOnly Property CellValue(FieldIndex As Integer, RowIndex As Integer) As Object

            Parameters

FieldIndex

The field index of the cell for which the value is required.
RowIndex The row index of the cell for which the value is required.
ReturnValue The value of the specified cell in the table.

Sample Code

    Private Sub TableCellValue()
        Dim table As New MapWinGIS.Table()
        Dim value As Double
        'Get the value of field 0, row 0 in the table to 100
        value = table.CellValue(0, 0)
    End Sub
  

VB 6 Usage
ReadOnly Property CellValue(FieldIndex As Long, RowIndex As Long) As Object
            Parameters

FieldIndex

The field index of the cell for which the value is required.
RowIndex The row index of the cell for which the value is required.
ReturnValue The value of the specified cell in the table.

Sample Code

    Private Sub TableCellValue()
        Dim table As New MapWinGIS.table
        Dim value As Double
        'Get the value of field 0, row 0 in the table to 100
        value = table.CellValue(0, 0)
    End Sub

Retrieved from "http://mapwindow.org/wiki/index.php/MapWinGIS:Table_CellValue"

This page has been accessed 1,812 times. This page was last modified on 9 November 2005, at 17:41.