Skip to content
.NET, WinForms, XtraMap
Branch: 14.2.3+
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
CS
VB
.gitattributes
.gitignore
LICENSE
Readme.md
config.json

Readme.md

Files to look at:

How to load data from a SQL Geometry data source

This example demonstrates how to load data to a vector layer from a SQL Geometry data source.

Description

To load data from the SQL Geometry data source, do the following.
1. Create a SqlGeometryDataAdapter object.
2. Specify its ConnectionString, SqlText and SpatialDataMember properties.
3. Assign this object to the VectorItemsLayer.Data property.

Note that all data table fields loaded from the database will be provided as attributes for each SqlGeometryItem object generated using SqlGeometryDataAdapter.


You can’t perform that action at this time.