2006年7月12日

转载——近音搜索,同智能ABC的功能,输入TX,它便能找到‘天笑’的内容

摘要: using System; using System.Text; using System.IO; namespace ts{ class test{ private static string[] startChars = {"啊", "芭", "擦","搭","蛾","发","噶","哈","击","击","喀","垃","妈",&q 阅读全文

posted @ 2006-07-12 10:40 Mat 阅读(201) 评论(0) 推荐(0) 编辑

编码总结

摘要: 对于URL编码:可以用:HttpUtility.UrlEncode(s,Encoding.GetEncoding("GB2312"));得到gb2312编码。如: Stream stream=Request.InputStream; StreamReader sr=new StreamReader(stream,Encoding.UTF8); string ss=s... 阅读全文

posted @ 2006-07-12 10:38 Mat 阅读(221) 评论(0) 推荐(0) 编辑

2005年8月19日

遍历Web控件的子控件

摘要: private void Button1_Click(object sender, System.EventArgs e) { FindSelecedControl(GlobalCategoryPanel); } private void FindSelecedControl(Control control)//递归函数 ... 阅读全文

posted @ 2005-08-19 16:28 Mat 阅读(207) 评论(0) 推荐(0) 编辑

导航