摘要: List<SupplierBase> yuanList = new List<SupplierBase>(); yuanList = ShareDal.GetCompanyListByTagId(tagId); CompanyList = new List<SupplierBase>(); Hash 阅读全文
posted @ 2020-12-07 15:30 Focus and Learn 阅读(67) 评论(0) 推荐(0) 编辑
摘要: using (IDbConnection conn = new SqlConnection(ConnectionString)) { string execSp = @" DECLARE @return_value int, @CompanyId int EXEC[dbo].[cp_API_Supp 阅读全文
posted @ 2020-11-28 16:59 Focus and Learn 阅读(161) 评论(0) 推荐(0) 编辑
摘要: Dapper之QueryAsync public static Task<IEnumerable> QueryAsync<TFirst, TSecond, TReturn>() 应用场景:获取带有子集集合的数据 Parent——带有子节点的Model public class Parent { pu 阅读全文
posted @ 2020-11-15 20:41 Focus and Learn 阅读(670) 评论(0) 推荐(0) 编辑
摘要: 界面是一个reapter控件, <asp:Repeater ID="rpt" runat="server"><ItemTemplate> <span id="spn" ><a href='<%#"../a.aspx?tId="+Eval("id")+"&cId="+Eval("CataName") 阅读全文
posted @ 2020-09-30 15:11 Focus and Learn 阅读(255) 评论(0) 推荐(0) 编辑
摘要: <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="False"> <ContentTemplate> <asp:GridView ID="gdv" runat= 阅读全文
posted @ 2020-09-23 16:19 Focus and Learn 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 昨天发布上线 定时任务执行失败,开始一直以为是 setinterval 执行太快 样式操作频繁阻止执行 后面发布线上alert ios手机跟踪执行数据 最后发现 date nan 。 搞我大半天时间 我真的想骂娘 。Safari 完全不按js规范来 var begin = Date.parse(ne 阅读全文
posted @ 2020-08-27 18:43 Focus and Learn 阅读(230) 评论(0) 推荐(0) 编辑
摘要: 爬虫解析 AngleSharp REST API client library RestSharp config SharpConfig 邮件发送 EazyEmail MailKit 阅读全文
posted @ 2020-05-31 00:02 Focus and Learn 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 实时通讯 singler System.Net.WebSockets.Client.Managed supersocket的作者好像写了websocket的实现。 DotNettySocket https://github.com/Coldairarrow/DotNettySocket 基于微软 D 阅读全文
posted @ 2019-11-06 10:09 Focus and Learn 阅读(161) 评论(0) 推荐(0) 编辑
摘要: SQL Server直接执行.sql文件 客户的数据库数据被篡改,利用Log Explorer工具根据日志生成的回滚脚本有200多M,不可能一下子扔到查询分析器里去执行,于是想是否SQL Server是否可以像Oracle那样直接执行.sql文件。讲过查资料,测试,发现可以在cmd窗口中执行如下命令 阅读全文
posted @ 2019-08-08 15:21 Focus and Learn 阅读(2413) 评论(0) 推荐(0) 编辑
摘要: SELECT *FROM ( SELECT TOP (@count1) a.* FROM Article AS a WITH (NOLOCK)LEFT JOIN Article_Type AS at WITH (NOLOCK)ON a.ArticleType=at.ArticleTypeIdWHER 阅读全文
posted @ 2019-08-08 15:13 Focus and Learn 阅读(2302) 评论(0) 推荐(0) 编辑