add in Web.config
<appSettings>
<add key="SQLConnString" value="Data Source=.;Initial Catalog=Attendance;uid=sa;pwd=sa"/>
</appSettings>
<appSettings>
<add key="SQLConnString" value="Data Source=.;Initial Catalog=Attendance;uid=sa;pwd=sa"/>
</appSettings>