会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
一起看海吗
博客园
首页
新随笔
联系
订阅
管理
2023年6月19日
关于使用vsmonodebuger对mono中运行的c#程序远程调试
摘要: 介绍: Mono是基于.NET Framework的开源开发平台,允许开发人员构建跨平台应用程序,从而提高开发人员的工作效率。Mono的.NET实现基于C#和公共语言基础结构的ECMA标准。简而言之就是可以运行.net framework程序跨平台执行 vsmonodebuger:是mono的一个v
阅读全文
posted @ 2023-06-19 09:55 一起看海吗
阅读(579)
评论(0)
推荐(0)
2022年7月13日
设置datagridview绑定数据源中的特定列表
摘要: ActionSource = new BindingSource(); ActionSource.DataSource = step; ActionSource.DataMember = "Actions";
阅读全文
posted @ 2022-07-13 18:37 一起看海吗
阅读(63)
评论(0)
推荐(0)
c#获取TextBox绑定的对象
摘要: var tBoxSource = (BM.Class.Phase.State.Condition)tBoxMConditionsExpression.BindingContext[ConditionsSource].Current;
阅读全文
posted @ 2022-07-13 18:35 一起看海吗
阅读(144)
评论(0)
推荐(0)
2022年6月6日
winform中datagridview行选择改变事件
摘要: datagridview中没有直接的行选择改变事件,可以通过CurrentCellChanged事件来实现,在CurrentCellChanged事件中判断D处理atagridview.CurrentCellAddress.Y获取所在的行索引,在进行处理 private void dtGVStep_
阅读全文
posted @ 2022-06-06 13:39 一起看海吗
阅读(2164)
评论(0)
推荐(0)
winform中datagridview复杂数据绑定的问题
摘要: 当一个数据源需要作为多个控件的数据源时,绑定步骤 1.新建BindingSource作为数据源,并将原始数据源赋给BindingSource source = new BindingSource(); source.DataSource = step.Actions; 2.将datagridview
阅读全文
posted @ 2022-06-06 10:28 一起看海吗
阅读(570)
评论(0)
推荐(0)
2022年3月11日
关于python中MultipartEncoder函数实现文件上传
摘要: import requests from requests_toolbelt import MultipartEncoder encoder = MultipartEncoder({'field': 'value', 'other_field', 'other_value'}) r = reques
阅读全文
posted @ 2022-03-11 11:08 一起看海吗
阅读(2263)
评论(0)
推荐(0)
2021年11月19日
数据字典的简单运用
摘要: Dictionary<object, DataTable> StatisticalResult = new Dictionary<object, DataTable>(); DataTable AccumulatedTable = new DataTable(); DataTable Accumul
阅读全文
posted @ 2021-11-19 16:48 一起看海吗
阅读(80)
评论(0)
推荐(0)
通过正则表达式筛选出字符串中的汉字部分
摘要: public static string GetChineseWord(string oriText) { string x = @"[\u4E00-\u9FFF]+"; MatchCollection Matches = Regex.Matches (oriText, x, RegexOption
阅读全文
posted @ 2021-11-19 16:42 一起看海吗
阅读(396)
评论(0)
推荐(0)
dev中gridview获取选中行的某列的值
摘要: string selName = this.gridView1.GetDataRow(this.gridView1.GetSelectedRows()[0]).ItemArray[0].ToString();//获取选中行的某列的值
阅读全文
posted @ 2021-11-19 16:41 一起看海吗
阅读(290)
评论(0)
推荐(0)
2021年7月3日
ArrayList和LinkedLis的区别
摘要: ArrayList类是一个可以动态修改的数组,与普通数组的区别就是它是没有固定大小的限制,我们可以添加或删除元素。 ArrayList 类位于 java.util 包中,使用前需要引入它,语法格式如下: import java.util.ArrayList; // 引入 ArrayList 类 Ar
阅读全文
posted @ 2021-07-03 16:06 一起看海吗
阅读(138)
评论(0)
推荐(0)
公告