摘要:
页面代码: <html> <head> <script src="https://code.jquery.com/jquery-3.1.1.min.js"></script> <!--media=print 这个属性可以在打印时有效--> <title>音频播放</title> <style typ
阅读全文
posted @ 2023-02-02 15:14
£冷☆月№
阅读(537)
推荐(0)
摘要:
第一步,使用VS创建一个应用程序 第二步,添加引用 websocket-sharp DLL文件,或者NuGet程序包中添加 第三部,创建Laputa 类 using WebSocketSharp; using WebSocketSharp.Server; namespace ConsoleApp1
阅读全文
posted @ 2022-12-27 16:04
£冷☆月№
阅读(728)
推荐(0)
摘要:
一、html标签的onclick事件 <button type="button" class="btnUpdate" onclick="<%# GetEditUrl(Eval("DetailId")) %>">纠正</button> 二、后台弹窗方法 public string GetEditUrl
阅读全文
posted @ 2022-12-26 16:21
£冷☆月№
阅读(261)
推荐(0)
摘要:
/// <summary> /// 获取Excel列标 A B C...Z等 /// </summary> /// <param name="col">Excel列数,从0开始</param> /// <returns></returns> public string getExcelColumnL
阅读全文
posted @ 2022-12-23 14:09
£冷☆月№
阅读(82)
推荐(0)
摘要:
利用OLEDB将DataTable数据写入Excel文件中,如果数据量过多,执行效率很缓慢,大数据量不推荐使用此方法。 /// <summary> /// 创建DataTable /// </summary> /// <returns></returns> private DataTable Cre
阅读全文
posted @ 2022-10-06 09:19
£冷☆月№
阅读(370)
推荐(0)
摘要:
废话不多说,直接上代码: /// <summary> /// 提取字符串中的电话号码(手机号码、座机号码、400电话) /// 正则表达式提取 /// 一、手机号码:11位 ([1][3456789]\d{9}) /// 二、座机号码:3位或4位区号 [- ] 7位或8位电话号 /// 1.3位或4
阅读全文
posted @ 2022-09-21 14:17
£冷☆月№
阅读(374)
推荐(0)
摘要:
MSSql Server 数据库批量操作 需要引用的命名空间 using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Reflection
阅读全文
posted @ 2022-09-20 09:46
£冷☆月№
阅读(119)
推荐(0)
摘要:
复制内容到剪切板通用的js方法 /** * 复制内容到剪切板 * @param text 要复制的内容 */ function Clipboard(text) { if (navigator.clipboard) { navigator.clipboard.writeText(text); //co
阅读全文
posted @ 2022-09-14 13:59
£冷☆月№
阅读(59)
推荐(0)
摘要:
某天一朋友突然发来一个地址,问我怎么获取这张图片的后缀名?? 将代码放在下面以供参考: using System; using System.Drawing; using System.Drawing.Imaging; using System.IO; using System.Net; names
阅读全文
posted @ 2022-09-08 17:37
£冷☆月№
阅读(341)
推荐(0)
摘要:
免费的在线PS工具:https://www.logosc.cn/online-ps
阅读全文
posted @ 2022-07-19 14:39
£冷☆月№
阅读(188)
推荐(0)