C# 从串口读取数据并保存到ACCESS数据库中

上传者: u011138234 | 上传时间: 2019-12-21 21:21:38 | 文件大小: 159KB | 文件类型: zip
自己学习C#开发时候练习写的串口传输程序,并将接受文本框的文本按空格分开存档到数据库中供查询的想修改,其中DataReceived事件我没有定义太复杂,而是将数据转存到一个list中缓存,之后再供主线程处理,不知这种方式有什么缺点,还希望各位指正!

文件下载

资源详情

[{"title":"( 49 个子文件 159KB ) C# 从串口读取数据并保存到ACCESS数据库中","children":[{"title":"example","children":[{"title":"ex1","children":[{"title":"ex1","children":[{"title":"FrmSetting.Designer.cs <span style='color:#111;'> 11.29KB </span>","children":null,"spread":false},{"title":"FrmDocForm.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"Form1.cs <span style='color:#111;'> 7.16KB </span>","children":null,"spread":false},{"title":"FrmDocForm.Designer.cs <span style='color:#111;'> 6.44KB </span>","children":null,"spread":false},{"title":"Program.cs <span style='color:#111;'> 484B </span>","children":null,"spread":false},{"title":"Form1.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"app.config <span style='color:#111;'> 886B </span>","children":null,"spread":false},{"title":"FrmSetting.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"FrmA.Designer.cs <span style='color:#111;'> 3.07KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"Settings.settings <span style='color:#111;'> 538B </span>","children":null,"spread":false},{"title":"Resources.Designer.cs <span style='color:#111;'> 2.79KB </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.79KB </span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false}],"spread":true},{"title":"AdpToAccess.cs <span style='color:#111;'> 5.14KB </span>","children":null,"spread":false},{"title":"FrmA.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"MyCommon.cs <span style='color:#111;'> 646B </span>","children":null,"spread":false},{"title":"Form1.Designer.cs <span style='color:#111;'> 11.73KB </span>","children":null,"spread":false},{"title":"ex1.csproj <span style='color:#111;'> 5.55KB </span>","children":null,"spread":false},{"title":"FrmA.cs <span style='color:#111;'> 876B </span>","children":null,"spread":false},{"title":"FrmDocForm.cs <span style='color:#111;'> 2.37KB </span>","children":null,"spread":false},{"title":"FrmSetting.cs <span style='color:#111;'> 5.04KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"TempPE","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.64KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'> 880B </span>","children":null,"spread":false}],"spread":false},{"title":"x86","children":[{"title":"Debug","children":[{"title":"ex1.Form1.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"ex1.FrmDocForm.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"ex1.exe <span style='color:#111;'> 29.00KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.66KB </span>","children":null,"spread":false},{"title":"ex1.FrmSetting.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"ex1.pdb <span style='color:#111;'> 65.50KB </span>","children":null,"spread":false},{"title":"ex1.csproj.FileListAbsolute.txt <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false},{"title":"ex1.csprojResolveAssemblyReference.cache <span style='color:#111;'> 3.76KB </span>","children":null,"spread":false},{"title":"ex1.csproj.GenerateResource.Cache <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"ex1.FrmA.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"ex1.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"bin","children":[{"title":"Debug","children":[{"title":"ex1.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"ex1.vshost.exe <span style='color:#111;'> 22.13KB </span>","children":null,"spread":false}],"spread":false},{"title":"Release","children":null,"spread":false},{"title":"x86","children":[{"title":"Debug","children":[{"title":"ex1.vshost.exe.config <span style='color:#111;'> 886B </span>","children":null,"spread":false},{"title":"ex1.exe.config <span style='color:#111;'> 886B </span>","children":null,"spread":false},{"title":"Database11.accdb <span style='color:#111;'> 408.00KB </span>","children":null,"spread":false},{"title":"ex1.exe <span style='color:#111;'> 29.00KB </span>","children":null,"spread":false},{"title":"b1","children":[{"title":"Database11.accdb <span style='color:#111;'> 408.00KB </span>","children":null,"spread":false}],"spread":false},{"title":"ex1.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"ex1.pdb <span style='color:#111;'> 65.50KB </span>","children":null,"spread":false},{"title":"ex1.vshost.exe <span style='color:#111;'> 22.63KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"MyATAccess.cs <span style='color:#111;'> 1.74KB </span>","children":null,"spread":false}],"spread":false},{"title":"ex1.v12.suo <span style='color:#111;'> 51.50KB </span>","children":null,"spread":false},{"title":"ex1.sln <span style='color:#111;'> 1.30KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • StartNow :
    很有学习价值的文档,感谢
    2019-05-04
  • liuyan303 :
    还可以,可以参考系
    2018-08-02
  • tianfayun :
    正好需要ACESS的串口调试 现在已经实现了
    2017-06-05
  • weixin_36443384 :
    非常棒,学习价值很高。谢谢,竟然还不需要积分,赞
    2017-06-02
  • cpjnxx :
    好用,值得学习
    2016-12-21

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明