摘要:
public string GetPYString(string str) { string tempStr = ""; foreach (char c in str) { if ((int)c >= 33 && (int)c /// 取单个字符的拼音声母 /// /// 要转换的单个汉字 /// 拼音声母 string GetPYChar(string c) { byte... 阅读全文
摘要:
static ArrayList Sheets(string filepath) { ArrayList al = new ArrayList(); string strconn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + filepath + ";Extended Properties=Excel 8.0;"; OleDbConnection conn = new OleDbConnection(strconn); conn.Op... 阅读全文