sportdog

导航

 

摘要: 遇到的问题: json文件格式在网上在线验证一下(回车换行导致格式不对) 本地文件不行(以网站页面运行或其他方式) 网上例子中不需要用parse转换,实际上data是个字符串,不知道是啥原因. data.json {"data":[23, 25, 4, 14],"category": ["壹钱包", 阅读全文
posted @ 2023-06-12 15:25 sportdog 阅读(7) 评论(0) 推荐(0) 编辑
 

摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.o 阅读全文
posted @ 2021-12-08 10:34 sportdog 阅读(42) 评论(0) 推荐(0) 编辑
 

摘要: <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> 阅读全文
posted @ 2021-08-05 11:09 sportdog 阅读(79) 评论(0) 推荐(0) 编辑
 

摘要: public void GetLength() { string str = "abc123中文汉字"; Console.WriteLine(str); int i = System.Text.Encoding.Default.GetBytes(str).Length; int j = str.Le 阅读全文
posted @ 2020-12-22 11:19 sportdog 阅读(82) 评论(0) 推荐(0) 编辑
 

摘要: 业务描述: SAP系统的开发人员提供了一个根据订单号获取SAP订单的WebService。此WebService与之前的WebService有点不同,需要输入用户名及密码。 WSDL地址: http://gwsapdev03.greatwall.com.cn:8000/sap/bc/srt/wsdl 阅读全文
posted @ 2020-11-05 15:25 sportdog 阅读(1024) 评论(0) 推荐(0) 编辑
 

摘要: 问题: 上一篇文章我们已经可以通过Swagger生成的Web页面对WebApi进行测试。先希望WebApi的具体方法有对应的注释。 解决: 1:在StartUp.cs 中添加以下代码: public void ConfigureServices(IServiceCollection services 阅读全文
posted @ 2020-11-03 10:57 sportdog 阅读(1601) 评论(1) 推荐(0) 编辑
 

摘要: 问题: 在.Net Core 中创建的WebApi如何进行测试。 解决: 使用第三方控件Swagger 遇到的问题: 测试页面无法显示出来:后发现在火狐、IE下无法显示,换成Chrome就可以了。 在测试页面执行WebApi Action时,提示404网页无法找到的错误:尝试直接运行Action , 阅读全文
posted @ 2020-11-02 13:29 sportdog 阅读(341) 评论(0) 推荐(0) 编辑
 

2023年8月1日

摘要: 需求: 员工表:编号,姓名 工资表: 编号,工资 现要在Excel中在工资表后加一列把员工表中的姓名取过来。 解决: 可以通过Vlookup实现,在新的列中添加函数 =VLOOKUP(@D:D,A2:B5,2,FALSE) 参数一:关联列(即工资表的编号字段)(选中编号列即可) 参数二: 查询区域( 阅读全文
posted @ 2023-08-01 14:06 sportdog 阅读(140) 评论(0) 推荐(0) 编辑
 

2023年6月12日

摘要: <!DOCTYPE html><html><head> <meta charset="utf-8"> <title>w3cschool (www.w3cschool.cn) </title> <!-- 引入 echarts.js --> <script src="echarts.min.js" re 阅读全文
posted @ 2023-06-12 10:48 sportdog 阅读(1) 评论(0) 推荐(0) 编辑
 
摘要: js文件地址: https://cdn.staticfile.org/echarts/4.3.0/echarts.min.js<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>w3cschool (www.w3cschool.cn 阅读全文
posted @ 2023-06-12 10:46 sportdog 阅读(2) 评论(0) 推荐(0) 编辑
 

2022年10月26日

摘要: Jquery 入口函数 20221026 My First Test <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional 阅读全文
posted @ 2022-10-26 14:46 sportdog 阅读(38) 评论(0) 推荐(0) 编辑
 

2021年12月8日

摘要: <body> <p>JS Study </p> <span style="text-indent:2em; ">说好的缩进2个字符呢?</span> <span style="text-indent:2em; display:block">正文缩进2个字符</span></body> 阅读全文
posted @ 2021-12-08 09:30 sportdog 阅读(122) 评论(0) 推荐(0) 编辑
 

2021年9月6日

摘要: insert into [dbo].[Attence] values('200718','2021-09-01','08:30','17:30')insert into [dbo].[Attence] values('200718','2021-09-02','08:31','17:30')inse 阅读全文
posted @ 2021-09-06 14:02 sportdog 阅读(36) 评论(0) 推荐(0) 编辑
 

2021年8月3日

摘要: <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> 阅读全文
posted @ 2021-08-03 16:29 sportdog 阅读(34) 评论(0) 推荐(0) 编辑