摘要:
Javascript 动态把JSON转成表格显示 <html> <body> <table id="table1"> </table> </body> <script src="http://www.oschina.net/js/2012/jquery-1.7.1.min.js?t=14519619 阅读全文
摘要:
dynamic dynamic modelCompany = new ExpandoObject(); modelCompany.Name = "Oschina"; modelCompany.Address = "深圳"; dynamic modelInfo = new ExpandoObject( 阅读全文
摘要:
腾讯:http://fw.qq.com/ipaddress 新浪的IP地址查询接口:http://int.dpool.sina.com.cn/iplookup/iplookup.php?format=js 新浪多地域测试方法:http://int.dpool.sina.com.cn/iplookup 阅读全文
摘要:
private void GetMail(string txt) { List<string[]> list = new List<string[]>(); string text = Regex.Replace(txt, ":", ":"); text = Regex.Replace(text, 阅读全文
摘要:
<connectionStrings> <add name="myDB" connectionString="Database=users;Data Source=192.168.1.206\db;User Id=sa;Password=fuckdb"/> </connectionStrings> 阅读全文
摘要:
str="A B C D E F"; str = new System.Text.RegularExpressions.Regex("[\\s]+").Replace(str, " "); //结果 //# A B C D E F 阅读全文
摘要:
DirectoryInfo TheFolder=new DirectoryInfo(folderFullName); //遍历文件夹 foreach(DirectoryInfo NextFolder in TheFolder.GetDirectories()) this.listBox1.Items 阅读全文
摘要:
方式一: AttributeRouting(第三方) 主要是实现Web Api Attribute路由的功能 对应的还有 Mvc 版。 AttributeRouting for GitHub 参考(不是很好): http://www.cnblogs.com/n-pei/archive/2012/07 阅读全文
摘要:
public async Task<HttpResponseMessage> Images() { // 检查是否是 multipart/form-data if (!Request.Content.IsMimeMultipartContent("form-data")) throw new Htt 阅读全文
摘要:
Adding a website to the Start menu by using the pinned sites APIs Use the window.external.msAddSiteMode() method to add a site to the Start menu. The 阅读全文