POST
|
Thank you for your reply. I will try to create personnel geodatabase file and try the code again.
... View more
10-21-2011
06:24 AM
|
0
|
0
|
877
|
POST
|
Unfortunately code didn't work. I modified it a little but still get exception on the CreateFeatureBuffer. I would like to give some explanation about what I'm trying to do. At the beginning I do not have any .mdb files. Only axMapControl on the form and MXD map file. Before opening this form, I'm trying to add a new layer to the existing map with some Points from the ADO.NET dataset. Using your code I'm trying to create an empty mdb file and then set up its parameters. For UID.Value I'm using GUID Id for AddData. Thank you
... View more
10-20-2011
01:26 PM
|
0
|
0
|
877
|
POST
|
Thank you for your help, James. I will try to do the layer today.
... View more
10-20-2011
07:27 AM
|
0
|
0
|
877
|
POST
|
When you say "dataset", do you mean x/y values in an ADO.NET DataSet/DataTable? Yes, if possible. We can use ADO.NET datatable or DBF / EXCEL file. The main question is how to create the layer from the existing data. Thank you!
... View more
10-19-2011
08:10 AM
|
0
|
0
|
877
|
POST
|
Hi, I'm C# programmer and have some knowledge about working with ArcGIS Desktop 10. But I'm new at ArcObjects in C#. Can somebody give me an example, how I can add a new layer to existing MXD map in C# from XY table? Examples which I found before didn't work. Can I do this from dataset or we need to generate some extra files like TXT or XLS? Thank you
... View more
10-18-2011
02:48 PM
|
0
|
8
|
3897
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|