c# 汉字转拼音

1、下载dll文件,加入项目引用.链接:http://download.csdn.net/detail/wangshaner1/7953211 2、引入命名空间:using NPinyin;3、方法:Pinyin.GetPinyin("中文");其他方法自己试试便知道哒

c#解析XML

1、引入using system.xml;2、相应代码XmlDocument doc = new XmlDocument(); doc.LoadXml(content); XmlNamespaceManager nsMgr = new XmlNamespaceManager(doc.NameTable); nsM...

详解SQL Server 2008中的MERGE语句(转)

    SQL Server 2008中的MERGE语句能做很多事情,它的功能是根据源表对目标表执行插入、更新或删除操作。最典型的应用就是进行两个表的同步。    下面通过一个简单示例来演示MERGE语句的使用方法,假设数据库中有两个表Product及ProductNew,我们的任务是将Product的数据同步到Pro...

c#通过谷歌地图API获得地区经纬度

c#通过谷歌地图API获得地区经纬度using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Net; using S...