添加引用http://htmlagilitypack.codeplex.com/downloads/get/437941protected
void Export(string content,string file) { HtmlDocument doc = new HtmlD...
分类:
Web程序 时间:
2014-07-22 23:17:32
阅读次数:
426
效果类似人人网微薄客户端的弹出效果static CGFloat kTransitionDuration
= 0.3;- (void)initView{ UIWindow *window = [UIApplication
sharedApplication].keyWindow; if (...
分类:
其他好文 时间:
2014-07-22 23:17:15
阅读次数:
437
1 /// 2 /// 将集合转换成DataTable 3 /// 4 /// 集合 5 /// 6
public static DataTable ToDataTable(IList list) 7 ...
分类:
其他好文 时间:
2014-04-29 17:22:46
阅读次数:
321
问 1 class B 2 { 3 public: 4 virtual void fun()
5 { 6 printf("fun in B\n"); 7 } 8 void b1() 9 {10 printf("b1 in B\n...
分类:
其他好文 时间:
2014-04-29 17:22:46
阅读次数:
424
在vs里新建一个winform程序"ReportViewTest",在form1中添加一个reportView控件,from1的load事件如下:
private void Form1_Load(object sender, EventArgs e) { Data...
分类:
其他好文 时间:
2014-04-29 17:16:47
阅读次数:
409
一. JDK5之前的实现方式在枚举类型出现之前,java是通过在接口或者类中定义public
static final 的变量来实现的。
比如对于四季的描述:-----------------------------------------------------------------------...
分类:
编程语言 时间:
2014-04-29 17:11:45
阅读次数:
449
//guI; graphics user interfaceimport
javax.swing.*;import java.awt.*; public class Main { public static void
main(String[] args) { JFra...
分类:
其他好文 时间:
2014-04-29 16:48:47
阅读次数:
313
[DataMapping("Status", DbType.Int16)] public
System.Int16 Status { get; set; } public string StatusValue { get { if (Status
== 0) { return "审核拒绝"; } e...
分类:
数据库 时间:
2014-04-29 16:45:46
阅读次数:
344
原文:ASP.NET MVC 5 -
查询Details和Delete方法在这部分教程中,接下来我们将讨论自动生成的Details和Delete方法。查询Details和Delete方法打开Movie控制器并查看Details方法。public
ActionResult Details(int? i...
分类:
Web程序 时间:
2014-04-29 16:44:47
阅读次数:
425
使用webdriver做UI自动化测试,driver.quit();方法貌似没能起作用,执行完成后,还是一堆页面和进程在。所以就只能简单粗暴地杀进程了public
void stop(){driver.quit();String name = null;try {name = getValue("d...
分类:
Web程序 时间:
2014-04-29 16:35:46
阅读次数:
609