[fdo-users] SDF Example for Insert , Update, Read
Romica Dascalescu
Romica.Dascalescu at autodesk.com
Wed Oct 10 22:09:40 PDT 2012
Try :
ValueExpression expression = new StringValue("Iron");
Romy
________________________________________
From: fdo-users-bounces at lists.osgeo.org [fdo-users-bounces at lists.osgeo.org] on behalf of raghulan [neo.exterminator at gmail.com]
Sent: Thursday, October 11, 2012 1:04 AM
To: fdo-users at lists.osgeo.org
Subject: Re: [fdo-users] SDF Example for Insert , Update, Read
Yes they are strings..
When i tried this
ValueExpression expression = (ValueExpression)Expression.Parse("Iron");
I am getting following error
System.InvalidCastException: Unable to cast object of type
'OSGeo.FDO.Expression.Identifier' to type
'OSGeo.FDO.Expression.ValueExpression'.
at C3D_SDF.CRUD.update_data(String sdf_file, IConnection con, Editor ed)
in D:\SkyDrive\Dev Zone\Ms.NET\Projects\C3D_SDF\C3D_SDF\CRUD.cs:line 138
ValueExpression expression =
(ValueExpression)Expression.Parse('Iron');//this is not working either.
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/SDF-Example-for-Insert-Update-Read-tp5007560p5007904.html
Sent from the FDO Users mailing list archive at Nabble.com.
_______________________________________________
fdo-users mailing list
fdo-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/fdo-users
More information about the fdo-users
mailing list