Using CS0120 to connect to read and write to a non-Sage 300 SQL database (Sage CRM)

I have this working with the Sage 300 company database but need to read from another SQL database.

Does anyone have some sample  code to get me started?

Any and All advice greatly appreciated,

Dana