convert osm .*osm /*.osm.pbf to *.gmdb


hello all… im a new in osm maping.

i have a question for all.

this is a first time i learn osm n create project using osm…
my project base on C# aplication and using osm as provider.
n lib iam using gMap.Net. for the online project i have no problem, but in offline i have a problem.
in some case i have a sources in .osm or .osm.pbf format file. n in gmaps i want to using file .gmdb…
how can i am convert my file…?

please everyone here help me…
thank u