chirutarockz Posted January 7, 2011 Report Share Posted January 7, 2011 Hi I am new to asp.net. I am creating a simple website using visual web developer express 2010 and sql server compact edition 4.I have done everything well. but I dont know how to create and connect the database. I mean how can I create an SDF file. I have copied all the dll's in my bin folder as shown in the following link. [url=http://erikej.blogspot.com/2010/07/getting-started-with-sql-server-compact.html]http://erikej.blogspot.com/2010/07/getting-started-with-sql-server-compact.html[/url]1. but I cant understand how he got that sdf file??? 2. How can I create and connect the database???3. and where should i write that long code????Could anyone please help me!!! thankyou in advance!! Quote Link to comment Share on other sites More sharing options...
deepthi_mca14 Posted January 8, 2011 Report Share Posted January 8, 2011 hi tell me what is the architecture of ur project ,i mean there would be dataacess layer,bussinee layer and so.u can use enterprise library to automate this ,give the connection string in web.config file use the key name in the code to get the connection,if u need further help mail me at [email protected] Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.