摘要:
private string ReadExcelCell(string path, int row, int column) { Workbook workbook = new Workbook(); workbook.Open(path); Cells cells = workbook.Worksheets[0].Cells; for (int i = 0; i < cells.MaxDataRow + 1; i++) { if (i ... 阅读全文
阅读排行榜
System.Threading中Thread和Task区别
2012-10-06 22:46 by hongjiumu, 2336 阅读, 收藏,
摘要:
A task is something you want doing.A thread is one of possibly many workers who perform that task.In .NET 4.0 terms,a Task represents an asynchronous operation.Thread(s) are used to complete that operation by breaking the work up into chunks and assigning to seperate threads.Intel TBB and the OpenMP 阅读全文
如何解决sql server2008:将字符串转换为 uniqueidentifier 时出现语法错误
2012-09-17 17:25 by hongjiumu, 2221 阅读, 收藏,
摘要:
declare @parentKey char(36) set @parentKey='B4B519EF-13F9-4F85-A382-21362F337D9D' select [Pro_ProductCategory].[CategoryName]+'('+ cast((select COUNT(1)from Pro_ProductMST where ProductModelKey in (select ModelKey from Pro_ProductModel where CategoryKey=[Pro_ProductCategory].Category 阅读全文
Run-Time Check Failure #0
2014-01-18 21:32 by hongjiumu, 2193 阅读, 收藏,
摘要:
Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call. This is usually a result of calling a function pointer declared with a different calling convention.This debug error means that the stack pointer register is not returned to its original value after the funct 阅读全文
在winform中绘一条直线
2013-02-19 23:15 by hongjiumu, 2126 阅读, 收藏,
摘要:
在winform中绘一条直线:public partial class Form1 : Form { public Form1() { InitializeComponent(); this.Paint += Form1_Paint; } private void Form1_Paint(object sender, PaintEventArgs e) { DrawLShapeLine(e.Graphics, 10, 10, 20, 40); ... 阅读全文
浙公网安备 33010602011771号