How to view the sdf file?

What you should be doing is converting the sdf to SQL and use SQL with MSSMS to view the data. SDF is not recommended it slows down considerably over time and is prone to more frequent data loss as well as not supporting several features in SambaPOS.