- 博客(12)
- 资源 (2)
- 收藏
- 关注
原创 SqlServer数据库截取字符串,获取字符串前后的值
print '第'+ltrim(str(@currentNumber))+'条记录:'+left(@sql,@length-1)print '第1条记录:'+left(@sql,@length-1)
2023-04-14 12:06:38 805 1
原创 C# 修改更新App.config文件无需重启服务
/// <summary> /// 此方法用来修改配置内文件的内容 /// </summary> /// <param name="AppKey">key</param> /// <param name="AppValue">修改的值内容</param> private sta...
2019-10-11 09:50:52 1075
原创 使用T4模板生成实体类
<#CodeGenerationTools code = new CodeGenerationTools(this);MetadataLoader loader = new MetadataLoader(this);CodeRegion region = new CodeRegion(this, 1);MetadataTools ef = new MetadataTools(this);
2017-03-16 15:21:49 1550 1
翻译 RichTextBox实现关键字自定义颜色显示(C#)
首先建立一个XML文件:csharp.xmlprivateprotectedpublicnamespaceclassforifelsewhileswitchcaseusinggetreturnnullvoidintstringfloatcharthissetnewtruefalseconststaticinternalextends
2016-07-06 13:22:41 4895 2
原创 Oracle中基本的函数(返回table)
create or replace type type_row as object( id int, name varchar(50))create or replace type type_table is table of type_row;
2014-07-21 16:56:26 1647
原创 C#获取Word文档结构图 并且转成Datatable表格
/// /// 获取Word文档结构图 /// /// 文 private void G(string FilePath) { object missing = System.Reflection.Missing.Value; object FileName =
2014-06-05 17:45:22 2514
原创 treeview节点拖动
private void treeView1_ItemDrag(object sender, ItemDragEventArgs e) { TreeNode tn = e.Item as TreeNode; if ((e.Button == MouseButtons.Left) && (tn != null) && (tn.Par
2014-05-21 11:08:55 2070
原创 treeview 无限子节点,获取选中的值
List list = new List(); //获取所有选定节点 private void toolStripMenuItem1_Click(object sender, EventArgs e) { //MessageBox.Show("编辑按钮", "操作提示"); list.Clear();
2014-05-19 13:59:11 1492
原创 winForm读取本地文件并且上传到服务器(非FTP)
private void button1_Click(object sender, EventArgs e) { OpenFileDialog ofd = new OpenFileDialog(); ofd.Title = "打开(Open)"; ofd.FileName = "";
2014-05-13 16:31:46 2278
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人