I build a register but every time I move pc, I need to change the string connection.
This is my code: http://pastebin.com/3CN3TmdB
How can I not have to change the data source every time I'm changing computer? If anyone could help me, that would be great! Thanks for any help.
This is my connection string:
string connection = @"Data Source=.\SQLEXPRESS;AttachDbFilename=C:\Users\Gal\Desktop\WebApplication2\WebApplication2\App_Data\MyDB.mdf;Integrated Security=True;User Instance=True";