摘要: public void JsonDemo() { string strJson = "{\"count\":\"5550\",\"status\": \"200\",\"message\": \"success\",\"show_data\":[{\"productsId\":\"10025\"}, 阅读全文
posted @ 2017-07-18 13:33 D调灬仔 阅读(1062) 评论(0) 推荐(0) 编辑
摘要: sql jion 阅读全文
posted @ 2017-07-13 11:11 D调灬仔 阅读(444) 评论(2) 推荐(1) 编辑
摘要: DataTable dt=XXXX; StringBuilder JsonStr = new StringBuilder(); if (dt.Rows.Count > 0) { JsonStr.Append("["); for (int i = 0; i < dt.Rows.Count; i++) 阅读全文
posted @ 2017-07-10 20:20 D调灬仔 阅读(168) 评论(0) 推荐(0) 编辑
摘要: ///调用事例 private void button5_Click(object sender, EventArgs e) { string pathPerc = @"E:\XX.jpg";//保存图片地址,名称和格式 string source = @"D\XX.jpg";//图片源文件路径 g 阅读全文
posted @ 2017-06-20 15:21 D调灬仔 阅读(213) 评论(0) 推荐(0) 编辑
摘要: 1、第一步 定义参数 //主表TableA public class TableA { public List<TableB> AccidentImgByte { get; set; } } //子表TableB public class TableB{ public Byte[] Accident 阅读全文
posted @ 2017-06-16 15:41 D调灬仔 阅读(2968) 评论(0) 推荐(2) 编辑
摘要: static string MoneyToUpper(string strAmount) { string functionReturnValue = null; bool IsNegative = false; // 是否是负数 if (strAmount.Trim().Substring(0, 阅读全文
posted @ 2017-06-01 10:07 D调灬仔 阅读(626) 评论(0) 推荐(0) 编辑
摘要: //是否存在相同 string a = "1,1,1"; string[] str = a.Split(','); if (str.Distinct().Count() == 1) { Console.WriteLine("1"); } else { Console.WriteLine("n"); 阅读全文
posted @ 2017-05-17 21:02 D调灬仔 阅读(1129) 评论(0) 推荐(0) 编辑
摘要: 1、合并 STUFF将利用FOR XML PATH生成的字符串中的前置逗号去掉 阅读全文
posted @ 2017-05-15 09:21 D调灬仔 阅读(789) 评论(0) 推荐(0) 编辑
摘要: 1、添加完成后就可以直接在 Main方法直接写代码 static void Main(string[] args){ } 2、也可以using System.Windows.Forms;引入这个指向项目其他页面 static void Main(string[] args) { Applicatio 阅读全文
posted @ 2017-05-10 15:35 D调灬仔 阅读(392) 评论(0) 推荐(0) 编辑
摘要: 解决方案: 删除C:\Users\Administrator\AppData\Local\Microsoft_Corporation\LandingPage.exe_StrongName_ryspccglaxmt4nhllj5z3thycltsvyyx\10.0.0.0 \user.aconfig. 阅读全文
posted @ 2017-04-22 17:48 D调灬仔 阅读(421) 评论(0) 推荐(0) 编辑

作者D调灬仔

出处:https://www.cnblogs.com/chj929555796/

如果觉得这篇文章对你有小小的帮助的话,记得在右下角点个“推荐”哦,博主在此感谢!