摘要: 1. 在纯JS下: <script> alert(getNowTime()); //document.getElementById('rq').value = getNowTime(); function getNowTime() { var date = new Date(); this.year 阅读全文
posted @ 2023-09-07 10:36 AutomationAnywhere 阅读(91) 评论(0) 推荐(0)
摘要: 问题点: .ashx中报错 对象为null. 现状代码:.aspx中 var DBID被定义了两次。 修改后: 阅读全文
posted @ 2023-08-22 10:22 AutomationAnywhere 阅读(27) 评论(0) 推荐(0)
摘要: 配置sql server数据库路径的小妙招 在桌面上建立一个文本文件,将后缀改成“.udl”,再次打开就可以看到一个图形化的SQL配置界面,根据界面提示就配置好,测试连接成功后,再用记事本打开,复制里面的配置信息就OK了。 阅读全文
posted @ 2023-08-16 14:47 AutomationAnywhere 阅读(97) 评论(0) 推荐(0)
摘要: C# 格式化代码 ctrl+k+d EXCEL 1. 一键求和: ALT+= 2. 一键美化: Ctrl+T 3. 一键生成图表: ALT+F1 4. 加平方符号:ALT+178 5. 加立方符号:ALT+179 6. 加打勾符号:ALT+41420 7. 加打叉符号:ALT+41409 8. 带框 阅读全文
posted @ 2023-08-15 13:18 AutomationAnywhere 阅读(93) 评论(0) 推荐(0)
摘要: 将字符串保存为文本文件 注:文件保存在当前电脑、下载文件夹中 1 //保存 2 var mySave = function () { 3 console.log(event) 4 const content = 'a plain text.' 5 const blob = new Blob([ co 阅读全文
posted @ 2023-06-19 10:19 AutomationAnywhere 阅读(304) 评论(0) 推荐(0)
摘要: 1. 固定数据的jexcel框架 <%@ Page Language="C#" AutoEventWireup="true" CodeFile="test.aspx.cs" Inherits="web_page_ssc_test" %> <!DOCTYPE html> <html xmlns="ht 阅读全文
posted @ 2023-06-14 11:13 AutomationAnywhere 阅读(606) 评论(0) 推荐(0)
摘要: 写在*.aspx中 1 //增加行 OK 2 var addRow = function () { 3 var fieldName = "type"; //字段名 4 var modifyValue = "请输入"; //值 5 //var tempConfirm = confirm("modify 阅读全文
posted @ 2023-06-14 11:11 AutomationAnywhere 阅读(39) 评论(0) 推荐(0)
摘要: 写在*.aspx中 1 //删除行 OK 2 var myDeleteRow = function () { 3 var DBID = document.getElementById("my_textbox").value; 4 //var tempConfirm = confirm("DBID为: 阅读全文
posted @ 2023-06-14 11:09 AutomationAnywhere 阅读(88) 评论(0) 推荐(0)
摘要: aspx文件 1 <%@ Page Language="C#" AutoEventWireup="true" CodeFile="有效代码_修改单元格并同步数据库.aspx.cs" Inherits="web_page_ssc_有效代码_刷新" %> 2 3 <!DOCTYPE html> 4 5 阅读全文
posted @ 2023-06-01 16:59 AutomationAnywhere 阅读(76) 评论(0) 推荐(0)
摘要: 准备:如何安装、调出DataGridView控件(待补充) 1. DataGridView控件——加载数据、修改数据 加载的效果: using System; using System.Data; using System.Text; using System.Windows.Forms; usin 阅读全文
posted @ 2023-05-07 19:09 AutomationAnywhere 阅读(64) 评论(0) 推荐(0)