惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
The Blog of Author Tim Ferriss
S
Securelist
D
Docker
The Register - Security
The Register - Security
GbyAI
GbyAI
Recorded Future
Recorded Future
Engineering at Meta
Engineering at Meta
Stack Overflow Blog
Stack Overflow Blog
云风的 BLOG
云风的 BLOG
P
Proofpoint News Feed
罗磊的独立博客
博客园 - 【当耐特】
F
Full Disclosure
WordPress大学
WordPress大学
腾讯CDC
小众软件
小众软件
大猫的无限游戏
大猫的无限游戏
D
DataBreaches.Net
SecWiki News
SecWiki News
L
Lohrmann on Cybersecurity
I
InfoQ
MyScale Blog
MyScale Blog
量子位
Cyberwarzone
Cyberwarzone
博客园 - 三生石上(FineUI控件)
The Hacker News
The Hacker News
F
Fortinet All Blogs
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Jina AI
Jina AI
博客园_首页
H
Help Net Security
K
Kaspersky official blog
酷 壳 – CoolShell
酷 壳 – CoolShell
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
www.infosecurity-magazine.com
www.infosecurity-magazine.com
Webroot Blog
Webroot Blog
Blog — PlanetScale
Blog — PlanetScale
V
Vulnerabilities – Threatpost
Y
Y Combinator Blog
The Cloudflare Blog
P
Proofpoint News Feed
V
Visual Studio Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
T
Tailwind CSS Blog
爱范儿
爱范儿
P
Privacy International News Feed
Security Archives - TechRepublic
Security Archives - TechRepublic
The GitHub Blog
The GitHub Blog
C
Cybersecurity and Infrastructure Security Agency CISA
B
Blog RSS Feed

博客园 - tiger8000

winserver2012 下安装 sqlserver2008 sql 实现学生成绩并列排名算法 asp.net 一次性提交大量数据,服务器会报错,要在 web.config 中设置一下 同一服务器上多个版本的 sqlserver ,如何连接,改变某一实例的端口号 安装SQl 2008为SQL Server代理服务提供的凭据无效 winserver2008 R2 64位 企业版 , IIS 配置运行 asp+access 网站 根据不同分辨率加载不同 css 样芪表 获取屏幕分辩率及客户端信息 用 javascript 脚本,网站判读来访者是手机还是电脑 如何使用 aspnetpager win7操作系统32位或是64位系统上安装 sql2005 点滴 在后台 .cs 中执行前台的js 函数 oracle 11g 及 plsqldeveloper 相关操作 窗体程序 防止重复打开子窗体 asp 下 ewebeditor 上传图片功能,在IE7,IE8 及更高版本上失效解决方法 StringBuilder 在后台动态输出 html 代码 Oracle 建表空间 起动停止 Oracle11g 三个服务的批处理写法 C# 捕捉键盘事件
Lodop6 以上打印控件使用,详参考自带说明文档,打印样式及文字大小要特殊设置一下
tiger8000 · 2014-04-30 · via 博客园 - tiger8000
    <link href="../css/cssprint.css" rel="stylesheet" />
    <script src="../Lodop/LodopFuncs.js"></script>
    <style id="style1">
table {
    font-size: 9pt;
    font-weight: normal;
    color: #000000 ;
    text-decoration: none;
}
td {
    font-size: 9pt;
    font-weight: normal;
    color: #000000 ;
    text-decoration: none;
}
.printfont{
    
    font-size: 9pt;
    font-weight: normal;
    color: #000000 ;
    text-decoration: none;
    
}
</style>
<script  type="text/javascript">
        var LODOP; //声明为全局变量
       
        function PreviewMytable() {
            LODOP = getLodop();
            LODOP.PRINT_INIT("预览打印表格");
            LODOP.SET_PRINT_PAGESIZE(2, 0, 0, "A4");

            LODOP.ADD_PRINT_TEXT(10, 410, 300, 30, "国  电  吉  林  热  电  厂")
            LODOP.SET_PRINT_STYLEA(0, "ItemType", 1);
            LODOP.SET_PRINT_STYLEA(0, "FontSize", 14);
            LODOP.SET_PRINT_STYLEA(0, "Bold", 1);

            LODOP.ADD_PRINT_TEXT(60, 20, 550, 50, "单位:<%=DropDownList1.SelectedItem.Text.ToString()%> (<%=numPerson%>人)")
            LODOP.SET_PRINT_STYLEA(0, "ItemType", 1);
            LODOP.SET_PRINT_STYLEA(0, "FontSize", 12);
            LODOP.SET_PRINT_STYLEA(0, "Bold", 1);

            LODOP.ADD_PRINT_TEXT(55, 370, 550, 50, "<%=DropDownList3.SelectedItem.Text.ToString()%> 年 <%=DropDownList4.SelectedItem.Text.ToString()%> 月 份 考 勤 记 录 簿")
            LODOP.SET_PRINT_STYLEA(0, "ItemType", 1);
            LODOP.SET_PRINT_STYLEA(0, "FontSize", 16);
            LODOP.SET_PRINT_STYLEA(0, "Bold", 1);

            LODOP.ADD_PRINT_TEXT(60, 800, 150, 30, "<%=DropDownList3.SelectedItem.Text.ToString()%>年 <%=DropDownList4.SelectedItem.Text.ToString()%>月<%=monthLastDay%>日")
            LODOP.SET_PRINT_STYLEA(0, "ItemType", 1);
            LODOP.SET_PRINT_STYLEA(0, "FontSize", 12);
            LODOP.SET_PRINT_STYLEA(0, "Bold", 1);

            LODOP.ADD_PRINT_TEXT(740, 80, 250, 30, "注:出勤“/”,串休“φ”。")
            LODOP.SET_PRINT_STYLEA(0, "ItemType", 1);
            LODOP.SET_PRINT_STYLEA(0, "FontSize", 10);
            LODOP.SET_PRINT_STYLEA(0, "Bold", 0);


            LODOP.ADD_PRINT_TEXT(740, 510, 120, 30, "单位领导:")
            LODOP.SET_PRINT_STYLEA(0, "ItemType", 1);
            LODOP.SET_PRINT_STYLEA(0, "FontSize", 10);
            LODOP.SET_PRINT_STYLEA(0, "Bold", 0);

            LODOP.ADD_PRINT_TEXT(740, 850, 120, 30, "考勤员:")
            LODOP.SET_PRINT_STYLEA(0, "ItemType", 1);
            LODOP.SET_PRINT_STYLEA(0, "FontSize", 10);
            LODOP.SET_PRINT_STYLEA(0, "Bold", 0);

            var strBodyStyle = "<style>" + document.getElementById("style1").innerHTML + "</style>";
            var strFormHtml = strBodyStyle + "<body>" + document.getElementById("div1").innerHTML + "</body>";
            LODOP.ADD_PRINT_TABLE(80, 15, "28cm", "17cm", strFormHtml);
            LODOP.SET_PRINT_STYLEA(0, "TableHeightScope",1);
            LODOP.PREVIEW();
        };
       
</script>