<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">


<META name=GENERATOR content="MSHTML 8.00.6001.18372">

<DIV><SPAN class=309442213-20022009><FONT color=#0000ff size=2 face=Arial>Hi 
Dan</FONT></SPAN></DIV>
<DIV><SPAN class=309442213-20022009><FONT color=#0000ff size=2 face=Arial></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=309442213-20022009><FONT color=#0000ff size=2 face=Arial>Thanks 
for the information.</FONT></SPAN></DIV>
<DIV><SPAN class=309442213-20022009><FONT color=#0000ff size=2 face=Arial></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=309442213-20022009><FONT color=#0000ff size=2 face=Arial>regards</FONT></SPAN></DIV>
<DIV><SPAN class=309442213-20022009><FONT color=#0000ff size=2 face=Arial>Vinay</FONT></SPAN></DIV>
<BLOCKQUOTE>
  <DIV dir=ltr class=OutlookMessageHeader align=left><FONT size=2 face=Tahoma>-----Original Message-----<BR><B>From:</B> Dan Stoica (via Nabble) 
  [mailto:<a href="http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2358800&i=0" target="_top" rel="nofollow">ml-user+64177-1235426992@...</a>]<BR><B>Sent:</B> Friday, 
  February 20, 2009 7:21 AM<BR><B>To:</B> vinay<BR><B>Subject:</B> RE: 
  [fdo-users] inserting data into a SDF file<BR><BR></FONT></DIV>HI Vinay, 
  <BR><BR>Regarding creating spatial contexts and in general when you need a 
  working example: have a look into the SDF unit tests. <BR><BR><BR>Regards, 
  <BR>Dan. <BR><BR>-----Original Message----- <BR>From: <A href="http://n2.nabble.com/user/SendEmail.jtp?type=node&amp;node=2358773&amp;i=0" rel="nofollow" target=_top>fdo-users-bounces@...</A> [mailto:<A href="http://n2.nabble.com/user/SendEmail.jtp?type=node&amp;node=2358773&amp;i=1" rel="nofollow" target=_top>fdo-users-bounces@...</A>] On Behalf Of vinay 
  <BR>Sent: Thursday, February 19, 2009 10:35 PM <BR>To: <A href="http://n2.nabble.com/user/SendEmail.jtp?type=node&amp;node=2358773&amp;i=2" rel="nofollow" target=_top>fdo-users@...</A> <BR>Subject: Re: [fdo-users] 
  inserting data into a SDF file <BR><BR><BR>Hi Jackie, <BR><BR>Thanks for the 
  tip. It worked. Also thanks for making fdotoolkit app open <BR>source. It is 
  very helpful for me to learn and understand different things <BR>related to 
  FDO seeing your source code. <BR><BR>I am having very hard time to understand 
  spatialcontext concepts. When <BR>creating the datastore for the sdf file i am 
  want to create a default <BR>spatialcontext but i am having difficulty in 
  creating a default wkt <BR>coordinate system. Do you have any suggestions. 
  <BR><BR>Thanks in advance. <BR><BR>regards <BR>Vinay <BR><BR><BR>Jackie Ng 
  wrote: 
  <DIV class=shrinkable-quote><div class='shrinkable-quote'><BR>&gt; <BR>&gt; If you look at the property 
  value collection of the insert command in the <BR>&gt; debugger, you will see 
  the count will increase in increments of 4. <BR>&gt; <BR>&gt; As a result, the 
  insert command will use the same first 4 property values <BR>&gt; for every 
  insert operation. <BR>&gt; <BR>&gt; To fix this, clear the property value 
  collection of the insert command <BR>&gt; before setting the property values. 
  <BR>&gt; <BR>&gt; Hope that helps. <BR>&gt; <BR>&gt; - Jackie <BR>&gt; 
  <BR>&gt; <BR>&gt; vinay wrote: <BR>&gt;&gt; <BR>&gt;&gt; Hi All, <BR>&gt;&gt; 
  <BR>&gt;&gt; I am using the FDO dlls from the MAP ObjectArx SDK 2009 &nbsp;in 
  Visual studio <BR>&gt;&gt; 2008. I am writing a small app to understand FDO 
  API. I am able to create <BR>&gt;&gt; a sdf file, describe schema for the sdf 
  file, create feature class, etc. <BR>&gt;&gt; I created four 
  datapropertydefinitions in which one is an <BR>&gt;&gt; identityProperty. I am 
  inserting values into my properties in a for-loop. <BR>&gt;&gt; When I open 
  this sdf file in map 2009, all columns have the same values <BR>&gt;&gt; 
  except the auto generated property column as shown below. <BR>&gt;&gt; 
  <BR>&gt;&gt; Please take a look in case I am missing something simple here. 
  <BR>&gt;&gt; <BR>&gt;&gt; &nbsp;<A href="http://n2.nabble.com/file/n2349739/data.png" rel="nofollow" target=_top>http://n2.nabble.com/file/n2349739/data.png</A><BR>&gt;&gt; 
  <BR>&gt;&gt; Source code snippets for the sample app is below <BR>&gt;&gt; 
  <BR>&gt;&gt; OSGeo.FDO.Schema.FeatureSchema Schema = new <BR>&gt;&gt; 
  OSGeo.FDO.Schema.FeatureSchema("SchemaOne", "Sample Schema"); <BR>&gt;&gt; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; OSGeo.FDO.Schema.FeatureClass ClassOne = new <BR>&gt;&gt; 
  OSGeo.FDO.Schema.FeatureClass("Class one", "Class one for Schema One"); 
  <BR>&gt;&gt; <BR>&gt;&gt; <BR>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  OSGeo.FDO.Schema.DataPropertyDefinition DataProp1 <BR>&gt;&gt; = new 
  OSGeo.FDO.Schema.DataPropertyDefinition("Prop1", "Property one"); <BR>&gt;&gt; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; OSGeo.FDO.Schema.DataPropertyDefinition DataProp2 <BR>&gt;&gt; = new 
  OSGeo.FDO.Schema.DataPropertyDefinition("Prop2", "Property two"); <BR>&gt;&gt; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; OSGeo.FDO.Schema.DataPropertyDefinition DataProp3 <BR>&gt;&gt; = new 
  OSGeo.FDO.Schema.DataPropertyDefinition("Prop3", "Property three"); 
  <BR>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; OSGeo.FDO.Schema.DataPropertyDefinition DataProp4 
  <BR>&gt;&gt; = new OSGeo.FDO.Schema.DataPropertyDefinition("Prop4", "Property 
  four"); <BR>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; DataProp1.DataType = <BR>&gt;&gt; 
  OSGeo.FDO.Schema.DataType.DataType_Int32; <BR>&gt;&gt; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  DataProp1.IsAutoGenerated = true; <BR>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DataProp1.Nullable = 
  false; <BR>&gt;&gt; <BR>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DataProp2.DataType = <BR>&gt;&gt; 
  OSGeo.FDO.Schema.DataType.DataType_Decimal; <BR>&gt;&gt; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  DataProp2.IsAutoGenerated = false; <BR>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DataProp2.Nullable = 
  false; <BR>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; DataProp2.ReadOnly = false; <BR>&gt;&gt; 
  <BR>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; DataProp3.DataType = <BR>&gt;&gt; 
  OSGeo.FDO.Schema.DataType.DataType_Decimal; <BR>&gt;&gt; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  DataProp3.IsAutoGenerated = false; <BR>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DataProp3.Nullable = 
  false; <BR>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; DataProp3.ReadOnly = false; <BR>&gt;&gt; 
  <BR>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; DataProp4.DataType = <BR>&gt;&gt; 
  OSGeo.FDO.Schema.DataType.DataType_String; <BR>&gt;&gt; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  DataProp4.IsAutoGenerated = false; <BR>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DataProp4.Nullable = 
  false; <BR>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; DataProp4.ReadOnly = false; <BR>&gt;&gt; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  DataProp4.Length = 20; <BR>&gt;&gt; <BR>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //Class one data props 
  <BR>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; ClassOne.Properties.Add(DataProp1); <BR>&gt;&gt; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  ClassOne.IdentityProperties.Add(DataProp1); <BR>&gt;&gt; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  ClassOne.Properties.Add(DataProp2); <BR>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  ClassOne.Properties.Add(DataProp3); <BR>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  ClassOne.Properties.Add(DataProp4); <BR>&gt;&gt; <BR>&gt;&gt; <BR>&gt;&gt; 
  <BR>&gt;&gt; OSGeo.FDO.Connections.Capabilities.IConnectionCapabilities 
  connCap = <BR>&gt;&gt; conn.ConnectionCapabilities; <BR>&gt;&gt; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  ITransaction fdoTrans = null; <BR>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if 
  (connCap.SupportsTransactions()) <BR>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fdoTrans 
  = conn.BeginTransaction(); <BR>&gt;&gt; <BR>&gt;&gt; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; using 
  (OSGeo.FDO.Commands.Feature.IInsert insert <BR>&gt;&gt; = 
  conn.CreateCommand(OSGeo.FDO.Commands.CommandType.CommandType_Insert) 
  <BR>&gt;&gt; as OSGeo.FDO.Commands.Feature.IInsert) <BR>&gt;&gt; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; { 
  <BR>&gt;&gt; <BR>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for (int nIndex = 1; nIndex 
  &lt; 5; nIndex++) <BR>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; { <BR>&gt;&gt; 
  <BR>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  OSGeo.FDO.Commands.PropertyValue <BR>&gt;&gt; PropValue1 = null; <BR>&gt;&gt; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PropValue1 = new <BR>&gt;&gt; 
  OSGeo.FDO.Commands.PropertyValue(); <BR>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; PropValue1.SetName(DataProp1.Name); <BR>&gt;&gt; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; PropValue1.Value = new <BR>&gt;&gt; 
  OSGeo.FDO.Expression.Int32Value(nIndex); <BR>&gt;&gt; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; insert.PropertyValues.Add(PropValue1); <BR>&gt;&gt; <BR>&gt;&gt; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PropValue1 = null; <BR>&gt;&gt; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; PropValue1 = new <BR>&gt;&gt; 
  OSGeo.FDO.Commands.PropertyValue(); <BR>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; PropValue1.SetName(DataProp2.Name); <BR>&gt;&gt; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; PropValue1.Value = new <BR>&gt;&gt; 
  OSGeo.FDO.Expression.DecimalValue(1000.50 + nIndex); <BR>&gt;&gt; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; insert.PropertyValues.Add(PropValue1); 
  <BR>&gt;&gt; <BR>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PropValue1 = 
  null; <BR>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PropValue1 = new 
  <BR>&gt;&gt; OSGeo.FDO.Commands.PropertyValue(); <BR>&gt;&gt; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; PropValue1.SetName(DataProp3.Name); <BR>&gt;&gt; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; PropValue1.Value = new <BR>&gt;&gt; 
  OSGeo.FDO.Expression.DecimalValue(2000.50 + nIndex); <BR>&gt;&gt; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; insert.PropertyValues.Add(PropValue1); 
  <BR>&gt;&gt; <BR>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PropValue1 = 
  null; <BR>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PropValue1 = new 
  <BR>&gt;&gt; OSGeo.FDO.Commands.PropertyValue(); <BR>&gt;&gt; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; PropValue1.SetName(DataProp4.Name); <BR>&gt;&gt; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; PropValue1.Value = new <BR>&gt;&gt; 
  OSGeo.FDO.Expression.StringValue("Note"+nIndex.ToString()); <BR>&gt;&gt; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; insert.PropertyValues.Add(PropValue1); 
  <BR>&gt;&gt; <BR>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; try 
  <BR>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; { <BR>&gt;&gt; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; using <BR>&gt;&gt; 
  (OSGeo.FDO.Commands.Feature.IFeatureReader reader = insert.Execute()) 
  <BR>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; { <BR>&gt;&gt; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; while 
  (reader.ReadNext()) { } <BR>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; } <BR>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } <BR>&gt;&gt; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; catch (Exception ex) <BR>&gt;&gt; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; { <BR>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; //throw new <BR>&gt;&gt; FeatureServiceException("Error inserting new 
  feature", ex); <BR>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  MessageBox.Show(ex.Message); <BR>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } 
  <BR>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } <BR>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } <BR>&gt;&gt; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  if (connCap.SupportsTransactions()) <BR>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  fdoTrans.Commit(); <BR>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; conn.Close(); <BR>&gt;&gt; 
  <BR>&gt;&gt; <BR>&gt;&gt; <BR>&gt; <BR>&gt; </DIV></div>-- <BR>View this message 
  in context: <A href="http://n2.nabble.com/inserting-data-into-a-SDF-file-tp2349739p2356982.html" rel="nofollow" target=_top>http://n2.nabble.com/inserting-data-into-a-SDF-file-tp2349739p2356982.html</A><BR>Sent 
  from the FDO Users mailing list archive at Nabble.com. 
  <BR><BR>_______________________________________________ <BR>fdo-users mailing 
  list <BR><A href="http://n2.nabble.com/user/SendEmail.jtp?type=node&amp;node=2358773&amp;i=3" rel="nofollow" target=_top>fdo-users@...</A> <BR><A href="http://lists.osgeo.org/mailman/listinfo/fdo-users" rel="nofollow" target=_top>http://lists.osgeo.org/mailman/listinfo/fdo-users</A><BR>_______________________________________________ 
  <BR>fdo-users mailing list <BR><A href="http://n2.nabble.com/user/SendEmail.jtp?type=node&amp;node=2358773&amp;i=4" rel="nofollow" target=_top>fdo-users@...</A> <BR><A href="http://lists.osgeo.org/mailman/listinfo/fdo-users" rel="nofollow" target=_top>http://lists.osgeo.org/mailman/listinfo/fdo-users</A><BR></BLOCKQUOTE>
<BR>
<BR>

<P><B><FONT SIZE=1 FACE="Arial">The information contained in this message is intended only for the recipient, and may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, please be aware that any dissemination or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify us by replying to the message and delete it from your system. Eagle Point reserves the right, subject to applicable local law, to monitor and review the content of any electronic message or information sent to or from Eagle Point employee e-mail addresses without informing the sender or recipient of the message. </FONT></B></P>
<BR>
<BR>

<br><hr align="left" width="300">
View this message in context: <a href="http://n2.nabble.com/inserting-data-into-a-SDF-file-tp2349739p2358800.html">RE: [fdo-users] inserting data into a SDF file</a><br>
Sent from the <a href="http://n2.nabble.com/FDO-Users-f2048584.html">FDO Users mailing list archive</a> at Nabble.com.<br>