Use Visual Studio to open a Windows Phone Database

Source: Internet
Author: User

Windows Phone supports database development, but operations such as database generation, data addition, deletion, modification, and query must be performed throughCode. If we want to modify or view data temporarily, We need to write the corresponding Temporary code, which is inconvenient.

The following steps allow you to add, delete, modify, and query Windows Phone databases without code.

1. Generate a database and corresponding data tables through code. If not, refer to http://msdn.microsoft.com/zh-cn/library/hh202865 (vs.92). aspx.

2. Connect to the simulator through the tool (sdk's self-contained isll.exe or Windows Phone power tools) and copy *. SDF in the independent storage to the local computer.

3. in vs 2010, find Server Explorer, click Connect to database above, select Microsoft SQL Server compact 3.5 for datasource, and click browse to find the saved *. to open the SDF file.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.