In ArcGIS SDK for NET I can open a Geodatabase file, created in ArcGis for Desktop (ArcMap).
No a web client based API like JS has limited or no file system access. The JS API needs RESTfull access to layers and data through ArcGIS Server or some web service that provides similar access to the GDB.
Thank you Robert, I begin to understand...Is it possible to share it to ArcGis Online and open from there?
You can add a particular feature class from the GDB as a FeatureLayer service.
Retrieving data ...