fig
2015-08-19 09:31
267 查看
netsh int tcp set global ecn=disable
C:\Windows\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe C:\TESTWindowService\myWindowsService.exe
C:\Windows\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe /u C:\TESTWindowService\myWindowsService.exe
using System.Web.Script.Serialization;
JavaScriptSerializer json = new JavaScriptSerializer();
List<URL> urlList = new List<URL>();
json.Serialize(urlList);
public class URL
{
public int ID { get; set; }
public string AD { get; set; }
public int type { get; set; }
public DateTime date { get; set; }
public string time { get; set; }
public string url { get; set; }
public bool status { get; set; }
}
添加服务器引用
NextEVWebservice.WebService websvc = new NextEVWebservice.WebService();
JavaScriptSerializer json = new JavaScriptSerializer();
List<URL> urlList = json.Deserialize<List<URL>>(websvc.GetURL(adName));
C:\Windows\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe C:\TESTWindowService\myWindowsService.exe
C:\Windows\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe /u C:\TESTWindowService\myWindowsService.exe
using System.Web.Script.Serialization;
JavaScriptSerializer json = new JavaScriptSerializer();
List<URL> urlList = new List<URL>();
json.Serialize(urlList);
public class URL
{
public int ID { get; set; }
public string AD { get; set; }
public int type { get; set; }
public DateTime date { get; set; }
public string time { get; set; }
public string url { get; set; }
public bool status { get; set; }
}
添加服务器引用
NextEVWebservice.WebService websvc = new NextEVWebservice.WebService();
JavaScriptSerializer json = new JavaScriptSerializer();
List<URL> urlList = json.Deserialize<List<URL>>(websvc.GetURL(adName));
相关文章推荐
- SQL语言的发展
- 九度oj-1079-手机键盘
- 阿峥教你实现UITableView循环利用
- untiy使用小技巧
- Android 多线程-----AsyncTask详解(康小岱已读)
- aauto学习系列之<4>:基础语法2
- 26. PHP 文件打开/读取/读取
- 全球主要气象气候研究部门及其共享数据集介绍
- 正则表达式
- 递归思想
- 如何使用Google APIs和Google应用系统集成(7)----在里面JSON兑换XML数据处理,JSON数据包括违规XML数据规范:XML节点名称不支持号码Java解
- GUID
- 数据库增删改查例子
- exp,imp导入时用户名密码错误
- ORA-0131:Insufficient privileges
- MyBatis教程之开发环境搭建和以接口的方式编程
- 递推思想
- 内部类创建一个内部版本
- 电子商务网站的设计与实现(四):项目名称malling和一期开发计划
- HDU4815