期刊文献+

C#与JavaScript数据交互的研究 被引量:6

Research on the Data Exchange between C#and JavaScript
下载PDF
导出
摘要 JavaScript作为Web页面开发中最常用的脚本语言,在移动互联网兴起的今天,被越来越多地用于基于HTML 5的程序开发中,如手机端十分流行的微信小程序、支付宝小程序等,其使用的Json格式让Web前、后端数据交换十分灵活且方便。但Windows桌面程序开发依然离不开C、C++或C#语言,而微软的各大编程语言对于Json格式的支持较弱,需要使用专门的类库,通过声明类的方式方可转换Json数据。该文基于使用JS的微信小程序与使用C#的.Net桌面程序,研究如何有效地实现手机端输入数据,通过C#转换并批量导出至Word或Excel文件。 JavaScript,as the most commonly used scripting language in Web page development,has been increasingly used in the development of html-based programs,such as WeChat small program and alipay small program,which are very popular on the mobile phone.The Json format used by JavaScript makes the data exchange between the front and back end of the Web very flexible and convenient.However,the development of Windows desktop programs is still inseparable from C,C++or C#languages,and Microsoft's major programming languages have weak support for Json format,so they need to use specialized class libraries to convert Json data by declaring classes.Based on the WeChat small program using JS and the.net desktop program using C#,this paper studies how to effectively implement the data input on the mobile terminal,through C#conversion and batch export to Word or Excel files.
作者 杨杰 徐名中 Yang Jie;Xu Ming-zhong(Fujian Inspection and Research Institute for Product Quality,Fujian Fuzhou 350002)
出处 《电子质量》 2021年第1期47-51,共5页 Electronics Quality
关键词 JAVASCRIPT C# 数据交互 JavaScript C# Data Exchange
  • 相关文献

参考文献3

二级参考文献7

共引文献12

同被引文献32

引证文献6

二级引证文献3

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部