会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
一叶孤城
如果不会飞翔 理想的翅膀 反倒成了生活的累赘......
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
下一页
2019年9月6日
安装SQL Server 2008R2 报错“此计算机上安装了 Microsoft Visual Studio 2008 的早期版本”解决方法
摘要: 安装SQL Server 2008 R2报错“此计算机上安装了 Microsoft Visual Studio 2008 的早期版本,请在安装 SQL Server 2008 前将 VS2008 升级到 SP1“。 解决方法: 32位操作系统: 打开注册表,将 HKEY_LOCAL_MACHINE/
阅读全文
posted @ 2019-09-06 08:29 一叶孤城
阅读(1929)
评论(0)
推荐(0)
2019年8月3日
c# Dictionary<string, object> 转JSON字符串
摘要: JavaScriptSerializer jss = new JavaScriptSerializer(); Dictionary dict = new Dictionary(); string strDATAJSON = ""; dict.Add("AA", "00"); dict.Add("BB", "00")...
阅读全文
posted @ 2019-08-03 10:42 一叶孤城
阅读(9137)
评论(0)
推荐(0)
c# 使用Newtonsoft.Json解析JSON数组
摘要: 一、获取JSon中某个项的值 要解析格式: [{"VBELN":"10","POSNR":"10","RET_TYPE":"S","RET_MSG":"写入失败:"},{"VBELN":"00","POSNR":"00","RET_TYPE":"E","RET_MSG":"写入失败:&qu
阅读全文
posted @ 2019-08-03 10:38 一叶孤城
阅读(13328)
评论(0)
推荐(0)
2019年7月12日
C# 在DataGridView中,点击单元格调出 TreeView控件 或 ListBox控件
摘要: 1、调出 TreeView控件 或 ListBox控件 private void deductGrid1_CellClick(object sender, DataGridViewCellEventArgs e) { if (e.ColumnIndex < 0 || e.RowIndex < 0)
阅读全文
posted @ 2019-07-12 17:32 一叶孤城
阅读(787)
评论(0)
推荐(0)
C# 通过反射访问类库DLL的路径打开窗体功能
摘要: //通过访问目录下的DLL Assembly ass = Assembly.LoadFile(Application.StartupPath + "\\Design.dll"); Type tp = ass.GetType("Design.Form1",false); Form frm = (For
阅读全文
posted @ 2019-07-12 16:49 一叶孤城
阅读(887)
评论(0)
推荐(0)
c# 自定义含有标题的容器控件(标题背景为渐变色)
摘要: 1、控件效果图 此效果图中的标题颜色、字号及字体可以在控件属性中设置。标题背景的渐变色及布局内容的背景色也可以在属性中设置。 2、实现的代码(用户控件) 1 public partial class UcPanel : UserControl 2 { 3 public UcPanel() 4 { 5
阅读全文
posted @ 2019-07-12 10:52 一叶孤城
阅读(914)
评论(0)
推荐(0)
2019年7月10日
C# Linq方式生成SAP对接的XML格式内容(一般处理程序 ashx )
摘要: Linq生成XML的方法: string CreateXML(string strkey, string strDATAJSON) { XDeclaration dec = new XDeclaration("1.0", "UTF-8", null); XDocument xdoc = new XD
阅读全文
posted @ 2019-07-10 14:28 一叶孤城
阅读(356)
评论(0)
推荐(0)
c# 对SOAP返回XML字符串的解析方法
摘要: 针对上面格式的XML字符串,获取出来 数组内容或关键标示 解析代码: try { XmlDocument xmlDoc = new XmlDocument(); xmlDoc.LoadXml(strxml);//Load加载XML文件,LoadXML加载XML字符串 XmlElement root
阅读全文
posted @ 2019-07-10 11:34 一叶孤城
阅读(4685)
评论(0)
推荐(0)
2019年5月15日
C# UDP通讯实例
摘要: 1、发送方代码 2、接收方代码 3、UdpService代码
阅读全文
posted @ 2019-05-15 12:59 一叶孤城
阅读(10891)
评论(0)
推荐(0)
2019年3月31日
Android ListView显示访问WebServices返回的JSON结果
摘要: 1、WebServices的返回结果 2、ListView内容布局代码 <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
阅读全文
posted @ 2019-03-31 20:34 一叶孤城
阅读(271)
评论(0)
推荐(0)
上一页
1
2
3
4
下一页
公告