自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 问答 (1)
  • 收藏
  • 关注

原创 list冒泡排序

string[] str = { }; // 遍历每条数据 for (int i = 0; i < list.Count; i++) { for (int j = 0; j < list.Count - 1 - i; j++) { // 第一条数据的第一个值跟第二条数据的第一个值进行比较 if (list[j][0].CompareTo(list[j + 1][0]) > 0) { str = .

2022-05-20 10:34:14 291

原创 C# comboBox固定值的写入

ArrayList mylist = new ArrayList();mylist.Add(new DictionaryEntry("dksm6", "DTG7設定"));mylist.Add(new DictionaryEntry("jyb6", "乗務員情報"));mylist.Add(new DictionaryEntry("dh6", "ハンディ設定"));mylist.Add(new DictionaryEntry("dhm6", "DHT4マスタ"));mylist.Add(new .

2022-05-20 10:22:07 350

原创 C# 读取csv文件内容存入list

// 文件路径string companyFilePath = temp_data_dir + "\\" + "companies.csv";StreamReader sr = new StreamReader(companyFilePath, System.Text.Encoding.Default);string strLine = sr.ReadLine();List<string[]> list = new List<string[]>();// 遍历文件内容w.

2022-05-18 17:38:52 1913

转载 C# SFTP上传下载

/// <summary>/// SFTP操作类/// </summary>public class SFTPHelper{ #region 字段或属性 private SftpClient sftp; /// <summary> /// SFTP连接状态 /// </summary> public bool Connected { get { return sftp.IsConnected; } }.

2022-05-18 17:22:35 1020

转载 C#读写ini文件

using System;using System.Collections.Generic;using System.Linq;using System.Runtime.InteropServices;using System.Text;using System.Threading.Tasks; namespace DoingIni{ class Program { [DllImport("kernel32")] private static.

2022-05-18 17:15:06 1369

原创 从byte中取得各个bit的值

// 十进制26 转换为二进制32位:00000000 00000000 00000000 00011010int testInt = 26;byte sharyoJyotai = (byte) testInt;int truckStatus = TruckStatus(sharyoJyotai);/*** 从左到右取得bit的值*/public static int TruckStatus(byte truckStatus) { int int1 = (truckStatus &am.

2022-01-12 11:40:13 338

原创 取得byte中的bit值

// 十进制26 转换为二进制32位:00000000 00000000 00000000 0011010int testInt = 26;byte[] arr = new byte[4];// 从上位(左)到下位(右)取得byte値arr[0] = (byte)((testInt >> 24) & 0xFF); // 00000000arr[1] = (byte)((testInt >> 16) & 0xFF); // 00000000arr[...

2022-01-06 09:51:37 712

原创 js正则判断

// 未入力 if(priceData ==""){ var msg = RAPI.internal.evaluateMessage({ key : '3001701', includeKey : false }); msg = msg.replace("undefined","料金(円)"), myAppCore.fErrorMsgShowArea('#errorMessage', msg); return;}// 数値以..

2021-12-23 11:58:43 365

原创 js端循环多条数据存入json数组

var dataList = [];var dataObject = "";var row_limit = scopeView.paramsDataGrid.data.rows.length; // 查询条数if (row_limit != 0) { for (var no = 1; no <= row_limit; no++) { var priceData = $('#price_id' + no).val(); dataObject={ ...

2021-12-23 11:11:30 1352

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除