在移动设备上使用SQL Server Compact 3.5 [英] using sql server compact 3.5 on mobile

查看:112
本文介绍了在移动设备上使用SQL Server Compact 3.5的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我为我的应聘项目制作了移动应用程序,因此我需要开发数据库,​​其中包含一些数据以填充移动应用程序中的combox ...
我听说sql Compact Edition是解决方案,但我有一些问题:

1-当我使数据库VS问我是否要数据源我的计算机或活动同步...(这是什么)提示我想在我的PC中开发数据库并将其附加到移动应用程序

2-如何更改连接字符串:
sqlceconnection con = new sqlceconnection(我的计算机中db的路径");
我如何才能走这条路到移动设备

3-移动中的要求是什么,例如(.net framework和......)

4-我如何将数据库附加到项目中,以便与cab文件一起运行.....

:)首先阅读我的问题

i making mobile application for my gradution project and i need to develop DB contain some data to fill comboxs in mobile application ...
i hear sql compact edition is the solution but i have some question :

1- when i make the database VS ask me if i want data source My comuter or active sync ...( what is this ) hint i want to develop the db in my pc and attach it to mobile application

2- how can i change the connection string :
sqlceconnection con= new sqlceconnection("the path to db in my computer");
how can i make this path to mobile device

3- what is the requirement should be in mobile e.g (. net framework and ...... )

4- howw can i attach the db to project to run in with the cab file .....

:) and first of all thx for read my question

推荐答案

也许我的问题得到了回答:)
通过这篇文章
使用SQL Server CE数据库的智能设备登录应用程序 [
maybe my question answered :)
by this artical
Smart Device Login Application Using the SQL Server CE Database[^]

but i will let mmy question open because i dnt try the content in the article but it is appear good :) thx for code projecty members and all :)


这篇关于在移动设备上使用SQL Server Compact 3.5的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆