使用C#将Windows Mobile与sql server2005连接起来 [英] connecting windows mobile with sql server2005 using c#

查看:75
本文介绍了使用C#将Windows Mobile与sql server2005连接起来的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

已经过了一个月了,找不到:confused::((<
蚂蚁是否知道如何将Windows Mobile应用程序与sql server 2005连接以访问sql server2005上的数据库不使用活动同步
通过无线局域网,服务器和移动设备将位于同一网络,而不是通过互联网

预先谢谢你

its been a month looking and can''t find :confused: :((

does ant one know how to connect a windows mobile application with a sql server 2005 to access a database on the sql server2005 WITHOUT USING THE ACTIVE SYNC
over the wirless lan and the server and mobile will be at the same network not over the internet

thank u in advance

推荐答案

有一个分步示例(带有示例源代码)
There''s a step-by-step example (with sample sourcecode) here[^].

Good luck :)


gr8它确实有效,谢谢你

我还有一个问题(对不起)

如何将sql server database filds分配给组合框而不是数据网格

我想在文本框中而不是数据网格中显示它
gr8 it worked it realy worked thank u man

i have another question (sorry)

how to assign the sql server database filds to combo boxes not data grid

i want to display it in text boxes not data grid


sary_mohamed写道:
sary_mohamed wrote:

我还有另一个问题(对不起)

如何将sql server database filds分配给组合框而不是数据网格

我想在文本框中而不是数据网格中显示它
前进

i have another question (sorry)

how to assign the sql server database filds to combo boxes not data grid

i want to display it in text boxes not data grid
advance


别后悔,我认为这是一个提问的好地方.这样的事情会将项目添加到组合框;


Don''t be sorry, I think it''s a good place to ask questions. Something like this would add items to a combobox;

comboBox1.BeginUpdate();
for (int i = 0; i < 200; i++)
{
    comboBox1.Items.Add(i.ToString());
}
comboBox1.EndUpdate();

您可以将其与数据读取器关联.我认为数据绑定也是一种选择,但是我不确定.

You could hook that up with the datareader. I think that databinding could be an option too, but I''m not sure on that.


这篇关于使用C#将Windows Mobile与sql server2005连接起来的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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