Data Type

May 15, 2012 at 8:16 PM

I want to add a numeric column (int) and type text (string).
The example "introduction to programming with Dotspatial" offers the following code:


dim column as new datacolumn("percentMales")
dt.columns.add(column )

I place where the data type?

Thank you in advance.

Muller guy

Developer
May 15, 2012 at 9:36 PM

 

 DataColumn column = new DataColumn("ID", typeof(short));

See http://mudnug.wordpress.com/2012/04/11/create-an-extension-to-analyze-vector-and-raster-data/