Sir i want to atach database to my project and also c that it runs on other machine .
Till know i have added appconfig but how to write the path of database.Created database in VS 2012 itself
Data Source="c:\users\data\documents\visual studio 2012\Projects\WindowsFormsApplication1\WindowsFormsApplication1\Database1.sdf"
its show this connection string.If i build it it wont work on another pc.