会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
小杨同学
博客园
首页
新随笔
联系
订阅
管理
2024年12月13日
JOB
摘要: JOB --Add declare a number; begin DBMS_JOB.SUBMIT(a, 'your_procedure;', to_date('202012010700','yyyymmddhh24mi'), 'sysdate+1'); commit; end; select to
阅读全文
posted @ 2024-12-13 09:25 txtspring
阅读(27)
评论(0)
推荐(0)
2024年8月21日
C#调用python程序
摘要: //在NuGet中安装pythonnet插件 using Python.Runtime; private void bt_python_Click(object sender, EventArgs e) { dynamic dynamic; Stopwatch sw = new Stopwatch(
阅读全文
posted @ 2024-08-21 14:01 txtspring
阅读(37)
评论(0)
推荐(0)
2024年7月30日
C#对FTP进行上传下载操作
摘要: private void bt_ftp_Click(object sender, EventArgs e) { try { 引用WinSCP类 // Setup session options SessionOptions sessionOptions = new SessionOptions {
阅读全文
posted @ 2024-07-30 14:37 txtspring
阅读(121)
评论(0)
推荐(0)
C#操作sqlite数据库
摘要: //连接字符串 conn = @"Data Source=E:\sqlite.db"; string sql_table = "SELECT name FROM sqlite_master WHERE type = 'table' AND name LIKE '%prod%'"; DataTable
阅读全文
posted @ 2024-07-30 11:11 txtspring
阅读(47)
评论(0)
推荐(0)
C#判断字符串是否满足多个条件中的任意一个条件的逻辑
摘要: // 示例:初始化DataTable并填充数据 DataTable dataTable = new DataTable(); dataTable.Columns.Add("Length", typeof(int)); dataTable.Columns.Add("StartIndex", typeo
阅读全文
posted @ 2024-07-30 10:14 txtspring
阅读(73)
评论(0)
推荐(0)
Winform程序控制网络继电器(康耐德,泥人..)运用Socket,TCP协议
摘要: //继电器官网查看命令 https://www.konnad.com/service/download/product-model/sdd4040-ad3 static byte[] DOON = new byte[] { 0x00, 0x01, 0x00, 0x00, 0x00, 0x06, 0x
阅读全文
posted @ 2024-07-30 09:34 txtspring
阅读(126)
评论(0)
推荐(0)
2024年7月26日
C#中将多个excel档案汇总为一个excel档,并批量汇入oracle数据库
摘要: 操作excel需要用到EPPlus类库参考 下载地址:https://epplussoftware.com/ private void bt_bach_oracle_Click(object sender, EventArgs e) { //將下載的excel匯總為一個excel string so
阅读全文
posted @ 2024-07-26 09:09 txtspring
阅读(48)
评论(0)
推荐(0)
2024年7月23日
Winform小工具:.txt档转excel档
摘要: private void bt_txt_to_excel_Click(object sender, EventArgs e) { FolderBrowserDialog folderDialog = new FolderBrowserDialog(); if (folderDialog.ShowDi
阅读全文
posted @ 2024-07-23 13:23 txtspring
阅读(29)
评论(0)
推荐(0)
2024年7月20日
Python将多个excel内容整合成一个excel档
摘要: print("開始!") import os import pandas as pd 设置文件夹路径 folder_path = 'D:\123456' folder_path = 'D:\1-24714' 创建一个空的DataFrame用于存储数据 all_data = pd.DataFrame(
阅读全文
posted @ 2024-07-20 14:59 txtspring
阅读(46)
评论(0)
推荐(0)
公告