随笔分类 -  C#

上一页 1 ··· 6 7 8 9 10 11 12 下一页
摘要:https://blog.csdn.net/jcx5083761/article/details/40185795 --移除回车符 update master_location SET street_number = REPLACE(street_number, CHAR(13), '') --移除 阅读全文
posted @ 2018-06-22 12:43 LuoCore 阅读(263) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/zhbsh/archive/2013/04/22/3035477.html 用C#.NET调用Java开发的WebService时,先在客户端封装的带有int属性的对象,当将该对象传到服务器端时,服务器端可以得到string类型的属性值,却不能得到in 阅读全文
posted @ 2018-06-22 10:36 LuoCore 阅读(321) 评论(0) 推荐(0)
摘要:if (DatagridView.Columns.Contains("旧ID")) { 有 } else{ 没有 } 阅读全文
posted @ 2018-06-21 10:55 LuoCore 阅读(1645) 评论(0) 推荐(0)
摘要:删除 tableLayoutPanel1.ColumnStyles.RemoveAt(1); tableLayoutPanel1.Controls.RemoveAt(1); 隐藏 TableLayoutPanel1.ColumnStyles[列序号].Width = 0;TableLayoutPan 阅读全文
posted @ 2018-06-13 17:37 LuoCore 阅读(3303) 评论(0) 推荐(1)
摘要:https://blog.csdn.net/Emiedon/article/details/51069193 在实际开发中,如果需要实时的显示后台处理的情况,我们可能要在前台用一些控件去显示 所以我们可能会写诸如label1.text=...,button1.hide();等等这样的代码,但是我们会 阅读全文
posted @ 2018-05-30 18:48 LuoCore 阅读(1195) 评论(0) 推荐(0)
摘要:http://www.360doc.com/content/18/0516/12/55659281_754382494.shtml 阅读全文
posted @ 2018-05-16 13:32 LuoCore 阅读(3683) 评论(0) 推荐(0)
摘要:PRINT 1*10-10=1PRINT 2*10-10=11PRINT 3*10-10=21PRINT 4*10-10=31PRINT 5*10-10=41PRINT 6*10-10=51在此感谢SqlSugar ORM框架交流群的这位大神赐教 阅读全文
posted @ 2018-04-19 11:33 LuoCore 阅读(119) 评论(0) 推荐(0)
摘要:http://www.cnblogs.com/Terrylee/archive/2006/07/03/enterprise_library2_1.html 要使用ExceptionPolicy.HandleException必须先在NuGet包中添加 EnterpriseLibrary.Except 阅读全文
posted @ 2018-04-14 01:46 LuoCore 阅读(595) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/johnblogs/p/6006867.html DataTable ds = new DataTable(); //1、lamda 表达式写法(推荐) var result = ds.AsEnumerable().GroupBy(s => new{Y 阅读全文
posted @ 2018-04-11 22:26 LuoCore 阅读(799) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/heng95/p/5902019.html 连接字符串 SQL Client .net数据提供程序在连接到数据库时极其灵活,它提供了多种用以生成连接字符串的方式。可以使用关键字,例如“Data Sourse”、“Initial Catalog”,也可以 阅读全文
posted @ 2018-03-22 10:08 LuoCore 阅读(211) 评论(0) 推荐(0)
摘要:http://blog.csdn.net/config_man/article/details/25578767 [csharp] view plain copy #region 调用timer控件实时查询开关机时间 private void timer1_Tick(object sender, E 阅读全文
posted @ 2018-03-19 22:19 LuoCore 阅读(217) 评论(0) 推荐(0)
摘要:http://blog.csdn.net/ligenyingsr/article/details/54095986 System.ConfigurationManager类用于对配置文件的读取。其具有的成员如下: 一、AppSettings AppSetting是最简单的配置节,读写非常简单。 名称 阅读全文
posted @ 2018-03-14 22:19 LuoCore 阅读(2496) 评论(0) 推荐(0)
摘要:string name = txtUserName.Text.Trim();//移除用户名前部和后部的空格 string pwd = txtUserPwd.Text.Trim();//移除密码前部和后部的空格 SqlConnection conn = new Sqlconnection(@"serv 阅读全文
posted @ 2018-03-14 22:15 LuoCore 阅读(250) 评论(0) 推荐(0)
摘要:http://heavenslv.iteye.com/blog/1033870 阅读全文
posted @ 2018-03-14 15:53 LuoCore 阅读(490) 评论(0) 推荐(0)
摘要:http://blog.csdn.net/xht555/article/details/38685845 https://www.cnblogs.com/wuchao/archive/2012/12/25/2832744.html IEnumerable<DataGridViewRow> enume 阅读全文
posted @ 2018-03-08 21:07 LuoCore 阅读(2233) 评论(1) 推荐(1)
摘要:https://www.cnblogs.com/sufei/archive/2010/01/12/1645763.html var result = ((DataTable) (this.ComShop.DataSource)).AsEnumerable() .Where(f1 => f1["Nam 阅读全文
posted @ 2018-03-06 19:38 LuoCore 阅读(338) 评论(0) 推荐(0)
摘要:参考文章:http://www.cnblogs.com/Abel_cn/archive/2008/12/09/1351425.html http://blog.csdn.net/friendan/article/details/52182923 using System; using System. 阅读全文
posted @ 2018-03-02 14:45 LuoCore 阅读(272) 评论(0) 推荐(0)
摘要:http://bbs.csdn.net/topics/391085792 DataTable 老表= 新表.AsEnumerable().GroupBy(p => p["姓名"]).SelectMany(p => p.GroupBy(s => s["年龄"]).Select(x => x.First 阅读全文
posted @ 2018-03-02 11:17 LuoCore 阅读(843) 评论(0) 推荐(0)
摘要:https://zhidao.baidu.com/question/154994771.html 阅读全文
posted @ 2018-02-02 21:50 LuoCore 阅读(1661) 评论(0) 推荐(0)
摘要://第二个窗体 public delegate void DAddress(string address); public event DAddress ESignAddress; protected void SignAddress(string address) { ESignAddress(a 阅读全文
posted @ 2018-01-31 21:03 LuoCore 阅读(261) 评论(0) 推荐(0)

上一页 1 ··· 6 7 8 9 10 11 12 下一页