上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 28 下一页
摘要: 在此记录下: 正常情况下我们的data:$('#form').serialize(),但是这个只是序列化了表单的数据,不带上file文件,并且,我们需要使用原生的JS获取form( document.getElementById),这和JQ的$('#form') 获取到的对象的节点不一样 var f 阅读全文
posted @ 2021-01-06 11:27 蜗牛的礼物 阅读(1015) 评论(0) 推荐(0)
摘要: 场景:在modal里头的日期控件初始化异常 思考:应该是初始加载被隐藏了,打开的时候再次加载看看 显示后执行: $('#editModal').on('shown.bs.modal', function () {//出生日期 $('#birthDay').datepicker({ language: 阅读全文
posted @ 2020-12-29 13:54 蜗牛的礼物 阅读(457) 评论(0) 推荐(0)
摘要: Private Sub Worksheet_Change(ByVal Target As Range) Dim str As String str = Cells(1, Target.Column).Value If (str = "订单编号") Then Application.EnableEve 阅读全文
posted @ 2020-12-22 14:29 蜗牛的礼物 阅读(705) 评论(0) 推荐(0)
摘要: 1.For Each Sub TestHellow() Dim r As Range, i As Integer i = 1 For Each r In Range("A1:A100") r.Value = i i = i + 1 Next r MsgBox "完成!" End Sub 结果: 2. 阅读全文
posted @ 2020-12-20 22:15 蜗牛的礼物 阅读(79) 评论(0) 推荐(0)
摘要: 碰到有需要侦听生成的文件 using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading; using Syst 阅读全文
posted @ 2020-11-30 10:08 蜗牛的礼物 阅读(147) 评论(0) 推荐(0)
摘要: <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>简繁体转换带cookie</title> <script src='jf.js'></script> </head> 阅读全文
posted @ 2020-11-26 11:04 蜗牛的礼物 阅读(496) 评论(0) 推荐(0)
摘要: 前情提要: 碰到ICO注入,不想在StartUp.cs内的ConfigureServices写注入,因为这样子开发的话,每次添加一个IService就要再次去写注入一次 网上找了老多,碰到好几个是.NetCore2.1的版本,写完之后报错(这点上感觉.NetCore的版本更新好快,好像还没稳定下的样 阅读全文
posted @ 2020-11-24 15:52 蜗牛的礼物 阅读(424) 评论(3) 推荐(0)
摘要: public class EmailHelper { public class MyEmail { private MailMessage mMailMessage; //主要处理发送邮件的内容(如:收发人地址、标题、主体、图片等等) private SmtpClient mSmtpClient; 阅读全文
posted @ 2020-11-13 10:02 蜗牛的礼物 阅读(161) 评论(0) 推荐(0)
摘要: 1.碰到这个,首先确认邮箱的POP3和IMAP是否开启,授权码是否拿到 2.注意邮箱密码使用授权码(新申请的账号使用),老旧版本的是使用原密码 3.还是发现不行的话,请注意用户名要和邮箱的名字一致(我就是这个问题) 感谢:https://bbs.csdn.net/topics/391884052?p 阅读全文
posted @ 2020-11-12 15:24 蜗牛的礼物 阅读(940) 评论(0) 推荐(0)
摘要: /// <summary> /// 根据Excel列类型获取列的值 /// </summary> /// <param name="cell">Excel列</param> /// <returns></returns> public static string GetCellValue(ICell 阅读全文
posted @ 2020-11-12 10:30 蜗牛的礼物 阅读(199) 评论(0) 推荐(0)
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 28 下一页