Most of our features and services are available only to our members. So we encourage you to login or join us by registering a new account. Registration is free, fast, and simple. You only need to provide a valid email address so we can minimize spammers. As a Symbianize member you'll have the following privileges:
Gain access to private forums and restricted features
Reply and create new topics or polls
Download free applications, games, themes, graphics, tones, videos, etc.
Ask question or support related to mobile phone, computer, game console, and multimedia
Private messaging (PM) with fellow members
Communicate instantly or real-time with currently online members via Shout Box
All that and more, so what are you waiting for, join us now! Ito ang website na ginawa ng pinoy para sa pinoy!
[GUIDE] Using Sql Server Compact Edition 4.0 on VC#2010 ExpEd sp1
Alam natin na ang Sql Server Compact Edition 4.0 designer ay hindi supported ng Visual C# 2010 express edition sp1.
Walang designer kahit pa magcreate ng database unlike Visual Web Developer 2010 sp1 na merong designer at pwede magcreate ng CE4.0 database kaya pwd ka makapagcreate ng Database, tables relationship etc...
Ito na... 1. Siguraduhin na Meron kang Visual C# 2010 express edition sp1 at Visual Web developer 2010 express sp1. 2. Download *Only fully-registered users can see this link.* at install. 3. Open visual c# 2010 express and create a project. 4. Import from Solution Explorer>Reference ang System.Data.SqlServerCe v4.0. 5. Open Visual Web Developer 2010 and create a project. 6. Open Database Explorer>Add Connection>Change>Microsoft Sql Server Compact 4.0>OK>Create>(Create filename(Path where do you want to save the .sdf file)>OK>YES>Tes Connection>(if connection successful)OK. 7. Go back to Database Exploerer>filename.sdf>table>Create Table(kayo na bahala kung marunong ka magquery) then save. 8. Go back to Visual C# project, create a connectioni:
//Standard connection string
SqlCeConnection conn = new SqlCeConnection("Data Source=path of .sdf file; Persist Security Info=False;");
Kung magprompt ang messagebox ay ang connection ay connected pero kung kung error baka mali ang directory path for your .sdf file.
Sana nakatulong anng thread na to
Sa madaling salita ay gagawin natin database designer ang Visual Web Developer 2010
Last edited by sephiroth111; 12th Jun 2012 Tue at 10:14..