I am trying to develop a windows application using C# and SharePoint built in web services,
that add\update files to SharePoint document libraries.
Now i am creating a form that fill the item fields.
Is there a way to know each field type and his specific control?
ex: single text field is text box, Choice field is a combobox…and what if i have a lookup field or people picker?
You can get the field type by reading the “Type” attribute from each field element that comes back in the List xml node, it will come back “Text”, “Number”, etc.
However, there is no way to know how each field type will be rendered in the SharePoint UI. Since there is only a limited number of field types, you can always create every type of field, check how SharePoint renders them on the web, and just replicate the behavior in your WinForms application.