![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C#
Jsl_2019
这个作者很懒,什么都没留下…
展开
-
C#实现邮件发送的配置类
C#实现邮件发送的配置类原创 2022-11-02 10:07:20 · 241 阅读 · 1 评论 -
C# SqlParameter自定义数据类型
public int Insert(DataTable dt) { AccessConfigurationDAL accessdal = new AccessConfigurationDAL(); var drs = dt.Select("S_Required = '1' or S_Required = '0'"); SqlParameter[] parameters = new SqlParameter[drs.Le.原创 2022-02-25 14:16:31 · 649 阅读 · 0 评论 -
C# Ajax拼HTML
function loadAccessData() { $.ajax({ type: "GET", contentType: "application/json", async: true, cache: false, url: "../Ajax/GetAccessConfiguration.ashx?selectItem=" + $("#DropDownList2 ").val() + "", ti.原创 2022-02-25 14:14:30 · 334 阅读 · 0 评论 -
C# DataTable转List
public static class DataTableToList { public static List<T> DataTableToDataList<T>(this DataTable dt) { var list = new List<T>(); var plist = new List<PropertyInfo>(typeof(T).Ge.原创 2022-01-19 14:31:17 · 1893 阅读 · 0 评论 -
C# 简单实现LogHelper
public class LogHelper { String infoPath; String errorPath; Int32 line = 0; public LogHelper() { var dirPath = String.Format(@"Log路径"); if (!Directory.Exists(dirPath)) ..原创 2022-01-19 14:16:43 · 592 阅读 · 0 评论 -
C# Excel互转DataTable
public class NPOIHelper { /// <summary> /// 将excel导入到datatable /// </summary> /// <param name="filePath">excel路径</param> /// <param name="isColumnName">第一行是否是列名</param> .原创 2022-01-19 14:11:47 · 1137 阅读 · 0 评论