Quantcast
Channel: MySQL Forums - Connector/NET and C#, Mono, .Net
Viewing all articles
Browse latest Browse all 1447

Populating a POINT object using ADO.net connector (no replies)

$
0
0
I am attempting to populate a POINT object (with lat long coordinates) using the ADO.net connector in the following way:

command.Parameters.Add("@PointField",MySqlDbType.Geometry);
command.Parameters["@PointField"].Value = /* what do I put here ? */

I'm assuming I need some kind of object that will generate WKB blob data for the point, but have been unable to find something that will do this.

Any advice would be appreciated.

Viewing all articles
Browse latest Browse all 1447

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>