There are several things need to be looked into. It is not as simple as you say in a sentence. I can run you through some of them, that strikes my brain immediately.
Have you ported the data from Access to SQL?
1) You got to change you Connection string to connect to SQL Server based on the provider that you prefer. Standard connection string is
"Provider=sqloledb;Data Source=Aron1;Initial Catalog=pubs;User Id=sa;Password=asdasd;"
Still you can refer for other ways to connect to SQLServer at this URL -
www.connectionstrings.com
2) Some places where date fields are used should be looked into.
Access uses #DATEFIELD# format for date manipulation.
SQLServer does not use that, just have to put them within quotes - '2004-04-23 00:00:00.000' or '2004-04-23'
Still more to be done, I dont actually remember everything, but I can assure you that you would get a lot of help here then and there.
Feel free to ask if any clarifications needed.
All the best.
-Vijay G