随笔分类 -  C#

摘要:序言 在大多数情况下,使用List类型时,会通过 "SqlBulkCopy "将数据保存到数据库。 也可以一次插入一条记录,但处理大量数据需要时间,因此 "SqlBulkCopy "是您需要记住的一种方法。 使用SqlBulkCopy时的准备 使用 SqlBulkCopy 的步骤如下。 将列表转换为 阅读全文
posted @ 2024-04-28 16:19 sekihin 阅读(147) 评论(0) 推荐(0) 编辑
摘要:出处:http://www.hzhcontrols.com/原文:http://www.hzhcontrols.com/blog-63.html本文版权归www.hzhcontrols.com所有欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利 阅读全文
posted @ 2023-09-22 09:22 sekihin 阅读(612) 评论(0) 推荐(0) 编辑
摘要:When developing extensions sometimes you just mess up, others someone else does. If you start getting errors loading even the most mundane extensions, 阅读全文
posted @ 2017-08-11 11:48 sekihin 阅读(251) 评论(0) 推荐(0) 编辑
摘要:1.与SMTP服务器建立连接 2. AUTH PLAIN认证 基于明文的SMTP验证,详见:http://www.ietf.org/internet-drafts/draft-ietf-sasl-plain-08.txt 其发送用户名与口令的格式应该是“<NULL>tim<NULL>tanstaaf 阅读全文
posted @ 2017-03-14 15:34 sekihin 阅读(342) 评论(0) 推荐(0) 编辑
摘要:using System;using System.Drawing;using System.Windows.Forms;using System.Windows.Forms.VisualStyles;/// <summary>/// </summary>public class MyDataGridViewButtonCell : DataGridViewButtonCell{ // By default, not set the color ot text. private bool isSetColor = false; private Color textCol 阅读全文
posted @ 2012-03-01 09:38 sekihin 阅读(3062) 评论(0) 推荐(0) 编辑
摘要:利用System.Net.Mail发SMTP AUTH邮件 阅读全文
posted @ 2012-02-23 13:30 sekihin 阅读(330) 评论(4) 推荐(0) 编辑
摘要:利用XmlWriter和不利用XmlWriter的区别。 阅读全文
posted @ 2011-07-08 17:03 sekihin 阅读(2855) 评论(0) 推荐(0) 编辑

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