Delphi 执行SQL脚本/执行SQL GO 脚本语句 注意:文件的编码格式,最好要统一,ANSI编码或UNICODE编码 方法1: var s: string; sqltext: string; sqlfile: TextFile; begin if OpenDialog1.Execute th ...
分类:
数据库 时间:
2020-09-18 02:53:51
阅读次数:
48
父级元素包含几个行内元素 <div id="box"> <p> <span>按钮</span> <span>测试文字文字文字测试文字文字文字</span> <span>看这里</span> </p> </div> #box p{ width: 800px; font-size: 30px; } #b ...
分类:
其他好文 时间:
2020-09-18 02:08:13
阅读次数:
35
先看效果: 再看结构,Viewer(影像控件)分为N个Cell(单元格),每个单元格分为N个Box(影像容器), 当默认情况为2x2的行列时,结构如下图: 其中,我们在WPF设计器中创建一个用户控件叫Viewer,使用Grid容器,默认2x2,再根据自己的业务需要创建用户控件Cell和用户控件Box ...
.box{ width:100%; background: url(../img/bg.png) no-repeat; background-size: 100% 100%; position: absolute; z-index: -1; top: 0; left: 0; right: 0; } ...
分类:
其他好文 时间:
2020-09-18 01:18:19
阅读次数:
31
1, .container { box-sizing: border-box; max-width: 1024px; padding: 20px; text-align: center; } ...
分类:
Web程序 时间:
2020-09-17 23:58:08
阅读次数:
61
confirm函数 confirm函数用于提供确认功能,它首先显示给定的message参数所包含的信息,并提供两个可选择的回答“ok”和“cancel”,然后等待用户选择其中的一个。如果用户选择“ok”则返回true;否则,如若选择“cancel”则返回false。该函数的语法格式如下: windo ...
分类:
编程语言 时间:
2020-09-17 23:27:56
阅读次数:
32
我觉得要死了,不会导入文件,手动输入了600多行数据.. from matplotlib import pyplot as plt import numpy as np from mpl_toolkits.mplot3d import Axes3D fig = plt.figure() ax = A ...
分类:
编程语言 时间:
2020-09-17 22:27:24
阅读次数:
39
心血来潮想从网上看看大家分享的VSCODE快速生成代码的技巧 发现都不是特别全面 于是略微整理了一下 VSCODE快速生成代码 一、快速编辑HTML代码 1、添加类、id、文本和属性 (1)输入 .box <div class="box"></div> (2)输入p#text <p id="text ...
分类:
其他好文 时间:
2020-09-17 21:29:13
阅读次数:
112
bug图:选中id为5的元素,在最上添加元素后,变成了选中id为4的元素 bug源码 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <div id= ...
分类:
其他好文 时间:
2020-09-17 21:01:21
阅读次数:
34