Click here to Skip to main content
15,890,282 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i created a project on c# windows form in visual studio 2010... i got all the files bt i cant find my database...what to do????
Posted
Comments
Mahesh Bailwal 10-Nov-13 11:18am    
what error are you getting?
vishal salve 10-Nov-13 11:19am    
no sir i want that database file only.... not all project..is it possible to get that database file???
Mahesh Bailwal 10-Nov-13 12:33pm    
what do you mean by you did not get database file. Please explain what you are trying to achieve.
Neal_K 10-Nov-13 11:28am    
Hi you can find any database name of your server using below query
select name from sys.databases

1 solution

Hi Vishal, You can check for the database file (.mdf file) in the location where you have saved your project. To know where you have saved your project, right click on the Project and Click on "Open Containing folder". It will open the file in Windows explorer and there you can find a file with .mdf format. That is your database file. I hope you understand what I mean to say and if this does not help u tell me what have u done and what obstacles did u got it.

Thanks
Ganesh
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900