摘要: 一、打开vitualstudio2010,新建一个网站,然后添加新项,新建一个login.aspx和index.aspx页面。再添加新项,选择全局应用程序类,该页面为Global.asax。 第一步:打开Global.asax页面,在Application_start()方法下写入以下代码: App... 阅读全文
posted @ 2015-01-31 11:21 qqhfeng16 阅读(429) 评论(0) 推荐(0)
摘要: C#使用printDocument1.Print打印时不显示正在打印对话框有两种方法第一种,使用PrintController PrintController printController = new StandardPrintController(); printDocument1.Prin... 阅读全文
posted @ 2015-01-31 09:53 qqhfeng16 阅读(637) 评论(0) 推荐(0)