摘要:
using System;using System.Data;using System.Xml;using System.Data.SqlClient;using System.Collections;namespace CommonClassLib{ /// /// The SqlHelper class is intended to encapsulate high performance, scalable best practices for /// common uses of SqlClient /// public sealed class S... 阅读全文
摘要:
1 public string logFile; 2 private int configLogLevel = 0; 3 private Stream s = null; 4 StreamWriter sw = null; 5 6 /// 7 /// 用log文件名初始化对象 8 /// 9 /// 10 public WriteLog(string logFile) 11 { 12 this.log... 阅读全文
摘要:
最近在写数据通信的时候用到的东西!希望对大家有帮助 1 /// 2 /// 获取或设置服务器IP地址 3 /// 4 public string serverIP = ""; 5 /// 6 /// 获取或设置服务器端口 7 /// 8 public int serverPort = 0; 9 /// 10 /// 连接对象 11 /// 12 pri... 阅读全文