for循环在最后一行循环结果后面加上几个字”以下未显示完整”……不会加……求帮助各位,在线等,急!!!!!!!!!!
for(int i=0;i<6;i++)
{
record = record + “” + a.text + “\r\n……继续阅读 »
10年前 (2016-03-03) 1404浏览
0个赞
实在是写不出来了,求高手补充成C# 可运行的
数据库:
distance[startStop(varchar 50),endStop(varchar 50),Distance(float)]
line[line_id(int),line_name(varchar 50),start_end(varchar 50),Setime(varchar 50),Pri……继续阅读 »
10年前 (2016-03-03) 1123浏览
0个赞
本人截取的数据显示是正确的,但是任然报这个错。
解决方案
20
截取到最后报错了……
显示正确是原因是之前的确没错
……继续阅读 »
10年前 (2016-03-03) 1175浏览
0个赞
如题。
private void btnSearch_Click(object sender, EventArgs e) //查询
{
string sqlMaster = “Select distinct id as 序号,SerialNo as 编号,Name as 姓名 from tb_PersonalInfo”;
string……继续阅读 »
10年前 (2016-03-03) 1398浏览
0个赞
使用serialport 向设备发送请求并获得响应数据
SerialPort sp = new SerialPort();
sp.PortName = "COM2";
sp.BaudRate = 2400;
sp.StopBits = StopBits.One;
sp.Parity = Parity.Even;
sp.DataBits = 8;
sp.……继续阅读 »
10年前 (2016-03-03) 6151浏览
0个赞
有没有朋友研究过 在window平台下 系统IO使用率的获取方式
如:任务管理器下就有IO使用率跟踪
解决方案
5
windows平台下有一堆标准的计数器,这是很标准的东西。
35
using System;
using System.Collections.Generic;
using System.Text;
using System.Managem……继续阅读 »
10年前 (2016-03-03) 2092浏览
0个赞
把下面这条语句转成VB.Net
new Thread(() => { Method1(5); }).Start();
解决方案
5
就是一个线程里 执行了一个函数
20
把End Function去掉。
5
有一个网站可以免费帮你转换C#->VB.NET或VB.NET->C#
15
引用 5 楼 sgyiliya 的回复:
有一个网……继续阅读 »
10年前 (2016-03-03) 1409浏览
0个赞
public IEnumerable<T> GetEntities<T>(Func<T, bool> func)
{
var table = this.GetEntitySet<T>();
var temp = table.Where(f => func(f.Value));
var ret……继续阅读 »
10年前 (2016-03-03) 1084浏览
0个赞
怎么把一个Image对象按指定(字节)大小压缩?….把图片按指定大小压缩或指定比例压缩………
解决方案
25
refer:http://blog.csdn.net/chinacsharper/article/details/9865491
15
引用 2 楼 u010312979 的回复:
Quote:……继续阅读 »
10年前 (2016-03-03) 1469浏览
0个赞