2017年8月9日

使用SqlCommand 执行SQL语句

摘要: string sConnectionString = @"server=(local)\SQLEXPRESS;database=Forum;Trusted_Connection=True"; using (SqlConnection conn = new SqlConnection(sConnect 阅读全文

posted @ 2017-08-09 19:25 liuyong9 阅读(253) 评论(0) 推荐(0)

2016年11月2日

关闭弹出子窗口,刷新父页面

摘要: Page.ClientScript.RegisterStartupScript(Page.GetType(), "go", "window.parent.location.href=window.parent.location.href;", true); Page.ClientScript.Reg 阅读全文

posted @ 2016-11-02 10:30 liuyong9 阅读(258) 评论(0) 推荐(0)

2016年7月11日

c#访问本地文件失败

摘要: 将程序池--高级设置中加载用户配置文件设置为true 阅读全文

posted @ 2016-07-11 20:46 liuyong9 阅读(189) 评论(0) 推荐(0)

导航