Yytan-BK

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

08 2023 档案

Oracle触发器
摘要:--手办表 DROP TABLE T_GIRL; CREATE TABLE T_GIRL( ID NUMBER, NAME VARCHAR2(30), PRIMARY KEY(ID), AGE NUMBER, TCODE NUMBER ); --数量表 DROP TABLE T_SQL_LOG; C 阅读全文

posted @ 2023-08-23 11:04 孤幽影暗 阅读(29) 评论(0) 推荐(0) 编辑

C# 调用接口(三)
摘要:using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Data; using System.IO; using System.Linq; using System.Net; u 阅读全文

posted @ 2023-08-21 00:23 孤幽影暗 阅读(67) 评论(0) 推荐(0) 编辑

orcale触发器
摘要:这是一个Oracle数据库触发器,用于在WHDTL表上进行INSERT或UPDATE操作之前执行特定的逻辑。触发器中的逻辑会在每次插入或更新WHDTL表的行之前触发。 触发器的主要目的是在将新数据插入到WHDTL表之前,根据一些条件从其他表中检索相关的数据,并根据需要执行插入操作,以确保关联的数据的 阅读全文

posted @ 2023-08-17 15:31 孤幽影暗 阅读(74) 评论(0) 推荐(0) 编辑

C# 对DataTable的处理
摘要:如果你有一个只包含一行的 DataTable,并且想要将该行的每一列的值存储到对应的字符串中,你可以按照以下方式进行操作: 假设你的 DataTable 名称为 dataTable,它包含一行数据。下面的代码将遍历该行的每一列,并将每一列的值存储到对应的字符串中: DataTable dataTab 阅读全文

posted @ 2023-08-16 23:59 孤幽影暗 阅读(139) 评论(0) 推荐(0) 编辑

C# 获取网页上指定的元素(.net Framework4.0 兼容版本)
摘要:using System; using System.IO; using System.Net; using System.Net.Security; using System.Security.Cryptography.X509Certificates; using System.Text; us 阅读全文

posted @ 2023-08-16 23:51 孤幽影暗 阅读(98) 评论(0) 推荐(0) 编辑

历程(草稿)
摘要:首先将本机的环境配置为工作环境,net fromework4.0,方法已经收藏到博客园然后找出 C# 在使用webClient 基礎連接已關閉: 傳送時發生未預期的錯誤 的解决方案:参考:https://blog.darkthread.net/blog/webclient-and-tls12/htt 阅读全文

posted @ 2023-08-16 00:04 孤幽影暗 阅读(11) 评论(0) 推荐(0) 编辑

完成版,编写实体类和自动生成类
摘要:实体类 环境配置:.net Fromework4.0 +Newtonsoft.Json_4.5 using System; using System.Collections.Generic; using System.Data; using System.Net; using System.Net. 阅读全文

posted @ 2023-08-15 18:02 孤幽影暗 阅读(22) 评论(0) 推荐(0) 编辑

C# 获取网页上指定的元素
摘要:直接上代码 //using System; //using System.Net.Http; //using System.Threading.Tasks; //using HtmlAgilityPack; //using Newtonsoft.Json; //class Program //{ / 阅读全文

posted @ 2023-08-14 22:22 孤幽影暗 阅读(201) 评论(0) 推荐(0) 编辑

C#-- Convert.ToInt()和int.parse()的区别
摘要:Convert.ToInt() 和 int.Parse() 都是在 C# 中用于将字符串转换为整数类型的方法,但它们之间有一些区别。 异常处理: int.Parse(): 当转换失败时,会抛出 FormatException 异常。需要在代码中显式处理异常,以避免程序崩溃。 Convert.ToIn 阅读全文

posted @ 2023-08-14 21:48 孤幽影暗 阅读(154) 评论(0) 推荐(0) 编辑

C# 获取网络API接口中的数据
摘要:控制台案例: using System; using System.Net.Http; using System.Threading.Tasks; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System.Data; using 阅读全文

posted @ 2023-08-14 19:59 孤幽影暗 阅读(104) 评论(0) 推荐(0) 编辑

Oracle 命令
摘要:sqlplus,在cmd中输入进入操作界面,然后数据密码和账户 show user; 查询出当前用户; 查看全局数据库名:select name from v$database; exit;断开连接 阅读全文

posted @ 2023-08-14 00:08 孤幽影暗 阅读(7) 评论(0) 推荐(0) 编辑

orcale和sql server在编写sql语句时的区别
摘要:1. 字符串连接: 在Oracle中,您可以使用“||”操作符来连接字符串: SELECT first_name || ' ' || last_name AS full_name FROM employees; 在SQL Server中,您可以使用“+”操作符来连接字符串: SELECT first 阅读全文

posted @ 2023-08-14 00:07 孤幽影暗 阅读(19) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示