如何创建一个简单的数据库程序,我需要帮助 [英] How to create a simple database program, I need help

查看:70
本文介绍了如何创建一个简单的数据库程序,我需要帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好我在Windows Mobile 6中制作一个简单的数据库程序时遇到了很多麻烦。我设法在使用模拟器时得到一些工作但不知道如何让它在实际设备上工作它会抱怨丢失的DLL文件,当我找到它们并将它们添加到文件夹后,它说发生了本机异常。

我有视觉工作室2005,windows mobile 6 SDK
有这个教程听起来很有希望 http://msdn.microsoft.com/en-us/library/aa454892.aspx 但我没有 SQL Server Management Studio

我用java创建了各种sql数据库的程序,而.net似乎更加令人困惑,使用java你使用的.jar文件包含了所有的相关数据库代码并将其复制到你的设备中使用它,使用.net它只是看起来很简单。

有一个我可以遵循的教程,它完成了VS2005内部的所有编码,并解释了如何让完成的应用程序在您的设备上运行。

Hi I am having so much trouble making a simple database program in windows mobile 6. I managed to get something to work when using the emulator but have no idea how to get it working on the actual device it would complain about missing dll files when I found them and added them to the folder it then said a native exception occured.

I have visual studio 2005, windows mobile 6 SDK

there is this tutorial which sounds promissing http://msdn.microsoft.com/en-us/library/aa454892.aspx but I dont have SQL Server Management Studio.

I have made programs in java with various sql databases and .net just seems so much more confusing, with java you use a .jar file which contains all the relavent database code and copy that to whatever device your using it on, with .net it just dosent seem that simply.

is there a tutorial I can follow that does all the coding inside VS2005 and also explains how to get the finished app working on your device.

推荐答案



以下MSDN文章应该可以帮助您以编程方式创建SDF文件: -

< a href ="http://msdn.microsoft.com/en-us/library/ms171966(SQL.90).aspx"> http://msdn.microsoft.com/en-us/library/ms171966(SQL。 90).aspx

我首先尝试一下,保持简单,并确保在添加表格,查询数据和插入值之前,文章中提供的代码先工作。希望这有帮助。

保罗迪斯顿
Hi,

The following MSDN article should help you create the SDF file programmatically :-

http://msdn.microsoft.com/en-us/library/ms171966(SQL.90).aspx

I would try this out first, keep it simple and make sure that the code provided in the article works first before adding tables, querying data and inserting values.

Hope this helps.

Paul Diston


这篇关于如何创建一个简单的数据库程序,我需要帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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