上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 52 下一页
摘要: https://blog.csdn.net/alisa525/article/details/7350471 dataGridView1.ReadOnly = true ; //禁用编辑功能 方法一:通过手动添加Datatable,再绑定dataGridView DataTable dt = new 阅读全文
posted @ 2019-11-15 16:48 LuoCore 阅读(11954) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/zhchsh/p/9087292.html--drop procedure zcstest; create procedure zcstest ( @tableName varchar(max), @dataCount int output ) as 阅读全文
posted @ 2019-11-15 09:36 LuoCore 阅读(930) 评论(0) 推荐(1)
摘要: https://www.cnblogs.com/xielong/p/7670757.html 我们如果要在sql server中,使用截取字符串的方法要怎样使用呢? sql server提供了3个常用截取字符串方法,LEFT()、RIGHT()、SUBSTRING() /****** Sql Ser 阅读全文
posted @ 2019-11-14 18:07 LuoCore 阅读(711) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/mylydg/p/5725189.html 在日常使用sql做查询插入操作时,我们通常会用到用sql查询一串编号,这串编号由数字组成。为了统一美观,我们记录编号时,统一指定位数,不足的位数我们在其左侧补0。如编号66,我们指定位数为5,则保存数据应为0 阅读全文
posted @ 2019-11-14 18:07 LuoCore 阅读(1899) 评论(0) 推荐(0)
摘要: Math.Ceiling();//向上取整 //举一反三 Math.Floor();//向下取整 Math.Round();//四舍六入五取偶 Math.Ceiling();//向上取整 //举一反三 Math.Floor();//向下取整 Math.Round();//四舍六入五取偶 阅读全文
posted @ 2019-11-14 17:51 LuoCore 阅读(470) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/deepwishly/article/details/9101307 这是计算一个月第一天的SQL 脚本: SELECT DATEADD(mm, DATEDIFF(mm,0,getdate()), 0) --当月的第一天SELECT DATEADD(mm, 阅读全文
posted @ 2019-11-14 14:20 LuoCore 阅读(2085) 评论(0) 推荐(0)
摘要: public static T XmlConvertModel<T>(string xmlStr) where T : class, new() { T t = new T(); XmlDocument xmlDoc = new XmlDocument(); xmlDoc.LoadXml(xmlSt 阅读全文
posted @ 2019-11-13 19:18 LuoCore 阅读(277) 评论(0) 推荐(0)
摘要: groupPrint.MouseDown += GroupBox1_MouseDown; #region 弹出层移动 [System.Runtime.InteropServices.DllImport("user32.dll", EntryPoint = "ReleaseCapture")] pub 阅读全文
posted @ 2019-10-23 11:41 LuoCore 阅读(386) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/mq0036/p/6421946.htmlusing System.Runtime.InteropServices; public class Win32 { public const Int32 AW_HOR_POSITIVE = 0x0000000 阅读全文
posted @ 2019-10-23 11:13 LuoCore 阅读(832) 评论(0) 推荐(0)
摘要: XML 控件加上属性 阅读全文
posted @ 2019-09-27 14:36 LuoCore 阅读(1481) 评论(0) 推荐(0)
上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 52 下一页