Jump to content

Need help in .net!!!


chirutarockz

Recommended Posts

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!!

Link to comment
Share on other sites

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]

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...