分类目录
文章索引模板
20070521 mpx220 上网 设置 动态 绑定 DataGridView - 一月 28, 2008 by yippee

20070521 mpx220 上网 设置 动态 绑定 DataGridView
http://www.yippeesoft.com

          try
           &leftsign;
               string ConnStr;
               SqlConnection Conn = new SqlConnection();
               SqlCommand Command = new SqlCommand();
               SqlDataAdapter Da;
               DataSet dt = new DataSet();
               SqlDataReader SqlReader;
       

               ConnStr = "Initial Catalog=Northwind;Data Source=localhost;Integrated Security=SSPI";
               Conn.ConnectionString = ConnStr;
               Conn.Open();

               Command.Connection = Conn;
               Command.CommandText = "Select [Orders].OrderID  as 订单号 ,Quantity as 质量 From Orders,[Order Details] where Orders.OrderID=[Order Details].OrderID";
               //MessageBox.Show(Conn.State.ToString());
               //SqlReader = Command.ExecuteReader();
               Da = new SqlDataAdapter(Command);
               
               Da.Fill(dt, "MyTable");
               dataGridView1.DataSource = dt;
               dataGridView1.DataMember = "MyTable";
               textBox1.DataBindings.Add("Text", dt, "MyTable.质量"); //数据绑定
               comboBox1.DataSource = dt;
               comboBox1.DisplayMember = "MyTable.订单号";
               comboBox1.ValueMember = "MyTable.订单号";
               dt.WriteXml("c:\\\\test.xml");
           &rightsign;
           catch (Exception ex)
           &leftsign;
               throw ex;
           &rightsign;
           finally
           &leftsign;
               //m_Reader.Close();
               //m_Conn.Close();
           &rightsign;
     
     
     string   connectionString   =   "Integrated   Security=SSPI;Persist   Security   Info=False;Initial   Catalog=FreightBusiness;Data   Source=FTT;User   ID=sa";  
                         SqlConnection   conn   =   new   SqlConnection(connectionString);  
                         conn.Open();  
                         SqlDataAdapter   myda   =   new   SqlDataAdapter("select   jobno,jobtype,khbh   from   jobse",   conn);  
                         DataTable   dtTable   =   new   DataTable();  
                         myda.Fill(dtTable);  
                         dataGridView1.DataSource   =   dtTable;  
                         this.dataGridView1.AutoResizeColumns(DataGridViewAutoSizeColumnsMode.AllCellsExceptHeader);  
                         conn.Close();  
                         dataGridView1.Columns[0].HeaderText   =   "工作编号";  
                         dataGridView1.Columns[1].HeaderText   =   "   业务类型";  
                         dataGridView1.Columns[2].HeaderText   =   "客户编号";
 MPx220手机是移动心机的,都内置全球通客户服务和全球通网站快捷方式 。而在手机的菜单 设置-数据连接 中已经设置好了上网的连接参数。但这些参数并不完美。例如使用GGTV和QQ时会做成连接错误情况。

下面介绍下上网连接设置参数。

  打开手机的开始-设置-数据连接 “右键菜单”-编辑连接-代理服务器连接
  WAP2.0 Port Setting
  连接方: WAP网络
  连接到: 安全WAP网络
  代理服务器: 10.0.0.172:80
  类型: HTTP
  下面不用填
  ☆ 按下图设置☆

  下一步返回打开“右键菜单”-编辑连接-GPRS连接
  GPRS连接互联网
  连接到:Internet
  访问点:CMWAP
  下面不用填
  ☆按下图设置☆

  下一步返回GPRS连接
  wap2.0门户(GPRS)
  连接到:WAP网络
  访问点:CMWAP
  下面不用填
  ☆按下图设置☆

  下一步返回手机的开始-设置

  数据连接
  Internet连接:GPRS连接互联网
  工作连接: 自动
  WAP连接: wap2.0门户(GPRS)
  安全WAP连接: wap2.0门户(GPRS)或(自动)
  WAP PROXY: 自动
  MMS网络: 彩信
  安全WAP PROXY:wap 2.0Port Setting
  ☆ 按下图设置☆

  再打开手机开始-设置-数据连接-“右键菜单”选项-我的桌面机连接到:Internet
  ☆ 按下图设置☆

  在打开IE浏览器-菜单-选项-连接-自动检测设置“去掉划勾”–选择网络:安全WAP网络
  ☆ 按下图设置☆

  注: 以上仅供参考

标签:, , , , , ,
0522 日本移动终端上网 BitDefender GDataAntiVirenKit - 十一月 14, 2006 by yippee

0522 日本移动终端上网 BitDefender GDataAntiVirenKit

变态家族看到的:
看到了来自总务省的调查,说是用移动终端比如手机, PHS, PDA上网的人已经超过了在家用电脑接入的人。
我的感觉是因为大家通勤的道路都很漫长, 每天花在电车上班下班的时间太多, 听说一两个小时都是很平常的, 无法打发, 只好求助于手机上网了。 我就从来不用手机上网, 因为从我寝室骑单车到研究室就五分钟…… 真好, 可以省不少钱。

可是我觉得在中国有两个因素制约
没有拥挤的象我们这样,否则你拼命吊在杆上,到那里掏手机上网
地铁方便,不然你叫他坐坐中国公交,叫他看手机屏幕上网,眼睛都会直了

我每天大约半个小时或者45分钟左右上班,如果坐公交车,大约花5分钟走到车站,10分钟等车,然后公交车~25分钟以上到公司
如果坐厂车,我需要25分钟左右到上车地点,然后15分钟左右到公司

我用MPX220,如果坐公交车,根本没有办法坐,如果坐厂车,倒是有座位,那个摇晃,我眼睛都成斗鸡眼了

世代別ではデジタルディバイドが顕著

 過去1年間にインターネットを利用したことのある人は推計8,529万人に達し、前年末から581万人増(7.3%増)と、引き続き増加。これに伴い、人口普及率も、前回から4.5ポイント増の推計66.8%に上った。

 個人のインターネット利用端末については、携帯電話などの移動端末利用者が、前年末から1,098万人増加(18.8%増)して推計6,923万人に達し、PC利用者の推定6,601万人を初めて上回るなど、モバイル化の進展が見られた。インターネット利用者(推定8,529万人)の過半数にあたる推定4,862万人は、PCと移動端末を併用する一方、PCのみの利用者は1,585万人で、前回から521万人減少した。

 世代別のインターネット利用率では、60歳以上の世代と他の世代の利用率の差が目立つ。特に50代(約70%)と60代前半(約52%)では、20ポイント近い差があるなど 、世代間のデジタルディバイドが顕著に見られた。

Rank  Antivirus software Comments Benny\’s PowerKnock Just Want More  PCWorld 评出的2006年最值得购买的(启发式)杀毒软件
1 Best Buy   BitDefender 9 Standard   • Performance: Superior • Ease of Use: Very Good • Features: Very Good • Price when ranked: $30• Vendor\’s Website PCW Rating: 92   Superior Inexpensive product received excellent scores in our performance tests, although its scan speed was sluggish.

2  McAfee VirusScan 2006   • Performance: Superior• Ease of Use: Very Good• Features: Very Good• Price when ranked: $40• Full Specs• Check latest prices PCW Rating: 87   Very GoodRelatively good heuristics help VirusScan provide solid protection. Phone support costs $3 per minute.

3Kaspersky Lab Kaspersky Anti-Virus Personal 5.0   • Performance: Superior• Ease of Use: Good• Features: Good• Price when ranked: $40• Full Specs
• Check latest prices PCW Rating: 85   Very GoodProgram had the fastest response to new malware outbreaks. Interface is clean but not exceptional.

4F-Secure Anti-Virus 2006   • Performance: Superior• Ease of Use: Good• Features: Good• Price when ranked: $40• Full Specs• Check latest prices PCW Rating: 83   Very GoodSolid performer responded quickly in tests and provides best breaking news on malware outbreaks.

5Symantec Norton AntiVirus 2006   • Performance: Good• Ease of Use: Very Good• Features: Very Good• Price when ranked: $40• Full Specs• Check latest prices PCW Rating: 80   Very GoodVeteren utility offers solid threat detection and a nice interface. Phone support costs $30 per incident.

6Panda Software Panda Titanium 2006 Antivirus + Antispyware   • Performance: Very Good• Ease of Use: Good• Features: Very Good
• Price when ranked: $50• Check latest prices PCW Rating: 79   GoodThis former Best Buy performed well, but not exceptionally, in our newest nonspyware tests.

7AntiVir Personal Edition Classic 6.32   • Performance: Good• Ease of Use: Good• Features: Fair• Price when ranked: Free• Vendor\’s Website PCW Rating: 78   GoodAntiVir performed the best of the free programs, although it failed to clean several old macro viruses.

8Alwil Software Avast Home Edition 4.6   • Performance: Fair• Ease of Use: Very Good• Features: Good• Price when ranked: Free
• Vendor\’s Website PCW Rating: 77   GoodFree product has a slick media-player-style interface that hides some features. Scan speed was slow in tests.
9Trend Micro PC-cillin Internet Security Security 2006   • Performance: Fair• Ease of Use: Superior• Features: Good• Price when ranked: $50• Full Specs• Check latest prices PCW Rating: 77   GoodFormer Best Buy performed poorly in heuristics and zoo tests but has the best interface of the bunch.
10  Grisoft AVG Free Edition 7.1   • Performance: Fair• Ease of Use: Fair• Features: Fair• Price when ranked: Free• Vendor\’s Website PCW Rating: 73   GoodFree program has subpar heuristics and one of the clunkier interfaces among the products we tested.

BitDefender 9 Standard Superior price, performance, and design earn this software our Best Buy distinction. PCW Rating: 92   Superior
Test Report   Street price when ranked    Average: $30 (12/12/05)  Performance    Performance: Superior  WildList viruses    100%  AV-Test zoo threats    95%  Heuristic detection with one-month-old signatures    56%  Heuristic detection with two-month-old signatures    38%  Scan speed (in seconds)    556  Outbreak response time    2 to 4 hours  Support and reliability      Telephone support    Yes  Toll-free support    No  Cost of phone support    None  Weekday support hours    9  Saturday support hours    0  E-mail or Web support    Yes

McAfee VirusScan 2006This solid product has a friendly interface but expensive phone support. PCW Rating: 87   Very Good
Street price when ranked    Very Expensive: $40 (12/12/05)  Performance    Performance: Superior  WildList viruses    100%  AV-Test zoo threats    89%  Heuristic detection with one-month-old signatures    53%  Heuristic detection with two-month-old signatures    34%  Scan speed (in seconds)    242  Outbreak response time    8 to 10 hours  Support and reliability      Telephone support    Yes  Toll-free support    Yes  Cost of phone support    $3 per minute  Weekday support hours    18  Saturday support hours    18  E-mail or Web support    Yes
BitDefender(tm) 提供安全解决方法满足今天计算的环境的保护需求, 提供有效威胁管理为四千一百万个家庭和公司用户在超过100 国家(地区). BitDefender(tm) 由所有主要独立审核人- ICSA 实验室确认, 复选标记和病毒公报, 并且是作为唯一的安全产品接受了IST大奖。

BitDefender 9 Professional Plus v9.0是来自罗马尼亚的老牌杀毒软件,二十四万超大病毒库 它将为你的计算机提供最大的保护,具有功能强大的反病毒引擎以及互联网过滤技术,为你提供即时信息保护功能,通过回答几个简单的问题,你就可以方便的进行安装,并且支持在线升级。它包括 1:永久的防病毒保护;2:后台扫描与网络防火墙;3:保密控制;4:自动快速升级模块;5:创建计划任务;6:病毒隔离区。

我一直都是用MCAFEE,有机会倒是可以试一试这个~~~~

不过好像还有有个 双引擎杀毒软件GDataAntiVirenKit 2006德文正式完全汉化版
AVK介绍:德国G-Data公司产品,英文全名(GData AntiVirusKit)其OEM给其它厂商,然后在前面冠上各自的厂商名。AVK AntiVirusKit 2004 ,AVK AntiVirusKit 2005和AntiVirusKit2006(杀毒引擎AVP+BD)也是双引擎,最新版本.可以同时开启进行监控,即使使用单引擎监控在扫描计算机的时候也是双引擎扫描.而F-secure6.0的版本AVK具有超强的杀毒能力,运行速度比卡巴稳定.不会卡机.超过了卡巴Ksapersky个人版及eScan,McAfee 和Norton F-Secure 。AVK的毒库同时集成KAV(也就是卡巴)和RAV的引擎,可以查到卡巴查不到的病毒和木马,可以把KAV和RAV两种杀毒软件的运行库和病毒库自由替换到AVK中,重要是占用资源很少。可以打造个人自由版的杀毒软件,真是其乐无穷。AVK为双引擎4400,高级启发模式,可以同时开启进行监控,单引擎监控在扫描计算机的时候也是双引擎扫描.AVK最大优点是,在病毒运行前阻止,只要病毒或木马录入病毒库,不会出现中毒后再杀毒的情况。
AVK缺点仍跟防火墙ZoneAlarm有冲突,同时安装会蓝屏。也就是只要卡巴兼容的和它都不会有冲突.KEY比较难找!

标签:, ,
gprs mc35 class 电话 上网 - 七月 14, 2005 by yippee

今天上网转悠,最近精神不是很好,儿子每天早上四点就起来了,我也只好五点多起床,同时由于到了30岁,人无远虑,必有近忧。编程编了八年,有点七年之痒的意思了。

看到 『天涯杂谈』中国移动通信vs多普达818 http://www.tianyaclub.com/new/publicforum/content.asp?idwriter=0&key=0&stritem=free&idarticle=313206&flag=1 当打开网页时,电话提示无法接通的问题。

觉得有点意思,以前用MC35西门子上网GPRS的时候,如果正在进行SOCKET连接并传输数据,

如果在下载过程中,http://www.yippeesoft.com数据正在传输,那么此时电话呼入,较长时间没有响应,最后提示:该号码暂时无法拨通。

如果此时暂停下载,停止数据传输,那么呼入电话正常,拨打方听到正常的铃音

,正好和这个类似。上网找了一些资料,也看不出什么门道。

GPRS的Class有两类,即按服务种类划分的Class,以及按GPRS时隙的分配传输类型来划分的Class。
  一、GPRS的服务类型
  按所提供的服务种类来说,现在有Class A、B、C三种。
  Class A可以在上网的同时接听电话,其技术含义是同时支持包交换(数据)和电路交换(语音)。
  Class B可以上网和接电话,但不能同时进行,其技术含义是虽然也支持包交换和电路交换,但不可在同一时刻支持包交换和电路交换,状态可以切换;
  Class C则只能上网,什么时候都不能打电话,其技术含义是它只支持包交换。
  到目前为止,我所知道的手机只有Class B类型,也就是说,它既可以GPRS上网,也能打电话,但不能同时进行。
  不过我的推论是,GPRS的服务类型Class并不完全由手机决定,而是需要GPRS网络运营商提供相应服务才能进行。两者是互相配合和依存的关系。

  二、GPRS的传输类型
  GPRS是对GSM网络的扩展,它对GSM网络的地面网部分进行了改造,保留了无线部分的大部分设施,并配合软件的升级,使之能够支持数据传输。
  GPRS网为每个用户分配最多8个时隙(时间片)来传输数据,这8个时隙又分下行和上行,所以它们的组合数就多了。具体的组合情况,现在都用Class的传输类型来描述。按照“Class类型、下行数,上行数、简称”的顺序,我们有如下几个常用的Class类型:
  Class2 2, 1, 2+1   Class4 3, 1, 3+1    Class8 4, 1, 4+1      Class10 4, 2, 4+2 http://sms1.2liang.com/files/436.htm

MC35是西门子移动通讯出品的第一款GPRS模块,MC35向上兼容全部TC35功能,此外还集成了高速GPRS技术。可将GPRS技术广泛集成于移动电脑、PDA、智能电话以及其它设备之中。具备持久的在线连接、快速数据接入、高速数据传输速率等特点。
模块具体参数如下:
支持EGSM900/GSM1800双频
支持GRPS Class 8/Class B
支持GSM phase2/2+
输出功率:EGSM900时,2W / GSM1800,1W
输入电压:3.3-4.8V
功耗:休眠状态,3.0mA ;空闲状态,10.0mA;发射状态,300mA (平均),2.0A(峰值)
控制:AT指令直接控制
重量:16g
体积:54.5*36*6.65mm
环境温度:-25°C / +55°C
数据速率:CSD状态下最大速率14.4kbps,GPRS状态下行最大速率85.6kbps
接口:40pin
包括电源、3V SIM卡、RS232接口、语音、控制等管脚 / 50Ω天线接口

这是MC35的参数,也就是说,采用的CLASSB,

gprs网络编程和电话呼入的冲突  http://www.yippeesoft.com/blog/p/GPRSSOCKCALLIN.php

标签:, ,