可以用vs2008直接打开的源代码:
http://download.youkuaiyun.com/detail/flyuniverse_shell/4146710
1、拷贝Address_Data.MDF,Address_Log.LDF到sqlserver2008安装目录data文件夹下,附加进sqlserver2008数据库。
2、用vs2008打开addresslist.sln。
3、修改Web.config中的
<add key="VoteConnectionString" value="server=.;database=Address;uid=sa;pwd=xiexie"/>
<add name="AddressConnectionString" connectionString="Data Source=.;Initial Catalog=Address;User ID=sa;pwd=xiexie" providerName="System.Data.SqlClient"/>
<add name="ConnectionString" connectionString="database=Address;uid=sa;pwd=xiexie;server=.;"/>
测试: