access list in sharepoint 2007 using c#
I'm looking to compile data from a few diffrent custome lists in sharepoint 2007 Its a hosted sharepoint site so I don't have access to the machine backend. Is there any example code to access the sharepoint site using c#? here is my code thus far (i get the error Cannot connect to the Sharepoint site ''. Try again later. ) DataSet dt = new DataSet(); string query = "SELECT * FROM list"; string site = "http://sp.markonsolutions.com/Lists/Security/"; string list = "35E70EO4-6072-4T55-B741-4B75D5F3E397"; //security db string myConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;WSS;IMEX=2