- 博客(11)
- 收藏
- 关注
原创 将String 转换为byte[]数组
string aa = "你好helloworld";byte[] byteArry = new byte[0];byteArry = System.Text.Encoding.Default.GetBytes(aa);string str = System.Te
2011-08-09 09:07:05
629
转载 串口如何接收数据,接收到又如何处理
点击using System.IO.Ports;using System.Threading;using System.IO;namespace SerialPortDemo{ public partial class Form1 : Form { bool isStar = f
2011-08-06 13:57:14
2717
转载 web service中文资料合集
2用VS.NET创建Web服务 http://coderarea.net/html/bianchengyuyan/_NET/Web_Service/2009/0419/92149.html WEB服务有待实践的检验 http://cod
2011-08-06 13:48:17
721
转载 用虚拟串口
//创建串口控件1 System.IO.Ports.SerialPort serialPort1 = new System.IO.Ports.SerialPort(); // 配置串口1 // 关联串口接收事件 serialPort1.DataReceived += new Sy
2011-08-06 13:44:57
777
转载 把阿拉伯数字的金额转换为中文大写数字
// 把阿拉伯数字的金额转换为中文大写数字 static string ConvertToChinese(double x) { string s = x.ToString("#L#E#D#C#K#E#D#C#J#E#D#C#I#E#D#C#H#E#D#C#
2011-08-06 13:38:37
1111
原创 winform 获取当前程序运行根目录
// 获取程序的基目录 System.AppDomain.CurrentDomain.BaseDirectory // 获取模块的完整路径 System.Diagnostics.Process.GetCurrentProces
2011-08-06 10:06:38
609
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人