6

I am building an ArcMap Addin that contains several Windows Forms with controls that need to be bound to a database. I am trying to decide whether or not to use a native SQL Server Database or an SDE Geodatabase.

I would like to link the forms to the features on the map, which suggests I should use the geodatabase, but I have not found anyway to bind geodatabase tables and fields to WinForms controls at design-time.

Has anyone successfully created a Dataset (xsd) in Visual Studio from an SDE Geodatabase?

3
  • I tried to do what you are claiming, its quit interesting that.....i came to the conclusion of build some kind of ORM that can conect to the ArcSDE
    – XtianGIS
    Commented Oct 5, 2012 at 20:05
  • This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post - you can always comment on your own posts, and once you have sufficient reputation you will be able to comment on any post.
    – Aaron
    Commented Oct 9, 2012 at 2:37
  • This does not really answer the question. If you have a different question, you can ask it by clicking Ask Question. You can also add a bounty to draw more attention to this question to this question once you have enough reputation. Commented Oct 10, 2012 at 0:12

1 Answer 1

1

It is not possible to couple a VS Dataset (xsd) and ArcSDE Geodatabase without huge efforts. Although you can data bind .NET controls to your geadatabase attributes which in fact emulates a VS dataset (xsd).

you can download ArcDatabinding sample C# project from EDN that does the data binding.

It implements PropertyDescriptor, BindingList and ITypedList of .NET Framework.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.