Feature相关程序:插入一个feature

2015-06-11 12:02:59  访问(1914) 赞(0) 踩(0)

public static void MapInfo_Data_MICommand5(MICommand command, FeatureGeometry nyGeom)
        {
            command.CommandText =
                "Insert Into States (Obj, State, State_Name) " +
                "Values (@stobj, 'NY', 'New York')";
            command.Parameters.Add("@stobj", nyGeom);
            int NumberOfRecordsAffected = command.ExecuteNonQuery();
        }


标签:Feature相关程序:插入一个feature 

上一条:

下一条:


 

相关评论

评论加载中……
 

发表评论

类型:
内容:
  (Alt+Enter)