I have an problem while copying database file to another folder.
In Brief i have develop an windows application in that one form is Data Backup and restore. Suppose i have run form separately then i will copy these file from one place to another but if i have loged in then use this form then it give me an error that File used by another process. I have try to close the sqlconnection and the current connectionstate is closed still i have an error.
i am using sqlexpress as sqlserver database.
Can anybody help me....