Hello, i puplished a fgdb to my content but i want to display the dataset in it on arcgis online map same as diplayed in arcgis pro
Rather than publishing the FGDB, share your ArcGIS Pro map layers as a hosted feature layer:
You can then add the hosted feature layer to a Web Map in ArcGIS Online.
Alternatively, you can also share the entire ArcGIS Pro map as a web map. You can see in the picture above the option to do that.