上一页 1 ··· 3 4 5 6 7
  2019年1月2日
摘要: 1 UPDATE table_name 2 SET column1=value1,column2=value2,... 3 WHERE some_column=some_value; 1 UPDATE Websites 2 SET alexa='5000', country='USA' 3 WHERE name='菜鸟教程'; 阅读全文
posted @ 2019-01-02 10:39 Lionever 阅读(162) 评论(0) 推荐(0) 编辑
  2018年12月28日
摘要: 1、ISNULL 判断为空 2、getdate() 获取当前时间 3、 table1 inner join table2 on table1.t1 = table2.t1 阅读全文
posted @ 2018-12-28 09:10 Lionever 阅读(207) 评论(0) 推荐(0) 编辑
  2018年12月10日
摘要: public static ObjectId StringToObjectId(string strId) { long intId = Convert.ToInt64(strId);//这里的strId是一个纯数字字符串,将其转换成64的long类型,32的会报错 IntPtr init = new IntPtr (intId);... 阅读全文
posted @ 2018-12-10 18:22 Lionever 阅读(355) 评论(1) 推荐(0) 编辑
摘要: 1 PromptSelectionOptions selectionOpZDH = new PromptSelectionOptions(); 2 selectionOpZDH.MessageForAdding = "请选择展点号和高程点:"; 3 4 //根据过滤器来选 5 ... 阅读全文
posted @ 2018-12-10 13:40 Lionever 阅读(860) 评论(0) 推荐(0) 编辑
  2018年12月4日
摘要: [assembly: CommandClass(typeof(clist.Main))] //[assembly:ExtensionApplication(typeof(clist.Main))] namespace clist { public class Main { public string qm; public void VAddToo... 阅读全文
posted @ 2018-12-04 17:35 Lionever 阅读(1322) 评论(0) 推荐(0) 编辑
摘要: using Autodesk.AutoCAD.ApplicationServices; using Autodesk.AutoCAD.DatabaseServices; using Autodesk.AutoCAD.EditorInput; using System; using System.Collections.Generic; using System.ComponentModel; u... 阅读全文
posted @ 2018-12-04 17:28 Lionever 阅读(444) 评论(0) 推荐(0) 编辑
  2018年11月29日
摘要: C#整数三种强制类型转换int、Convert.ToInt32()、int.Parse()的区别Convert.ToInt32(double value) 如果 value 为浮点型,采用四舍五入; int(4.6) = 4,int转化其他数值类型为int时没有四舍五入,强制转换(截取整数部分); 阅读全文
posted @ 2018-11-29 10:14 Lionever 阅读(10208) 评论(0) 推荐(0) 编辑
  2018年11月2日
摘要: 1 /引用Microsoft.Office.Interop.Excel.dll文件 2 //添加using 3 using Microsoft.Office.Interop.Excel; 4 using Excel=Microsoft.Office.Interop.Excel; 5 6 //设置程序 阅读全文
posted @ 2018-11-02 18:09 Lionever 阅读(210) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7