摘要:
public class A { public int Id { get; set; } public int Pid { get; set; } public string Name { get; set; } } public class B { public int Id { get; set 阅读全文
摘要:
<div> <button @onclick="SelectAll">Select All</button> <button @onclick="Copy">Copy</button> <button @onclick="Cut">Cut</button> <button @onclick="Pas 阅读全文
摘要:
/// <summary> /// 调用API并返回结果字符串(http方式) /// </summary> /// <param name="url">访问接口全路径,包含参数</param> /// <returns>返回JSON字符串</returns> public static async 阅读全文
摘要:
1、增加Model模型结构 /// <summary> /// 子id /// </summary> public string Id { get; set; } /// <summary> /// 父id /// </summary> public string ParentId { get; s 阅读全文
摘要:
1、写入数据库连接字符串 比如: "ConnectionStrings": { "Conn": "Data Source=.;Initial Catalog=TestDome;Integrated Security=True" } 2、新建 AppsettingJson.cs 类 例如: publi 阅读全文
摘要:
#region 导入 /// <summary> /// 读取excel 表格 /// </summary> /// <param name="fileName"></param> /// <param name="sheetName">Sheet名称</param> /// <param name 阅读全文
摘要:
string path = HttpContext.Current.Server.MapPath(项目中所包含的路径);//找到绝对项目下所包含的路径 GoldPrinter.ExcelAccess excel = new GoldPrinter.ExcelAccess(); excel.Open( 阅读全文