随笔分类 -  开发相关

上一页 1 2 3
主要是各种开发语言遇到的问题
Small Perl for forget
摘要:just for record, because some command forget very quickly 阅读全文
posted @ 2012-01-06 10:15 子虚乌有 阅读(180) 评论(0) 推荐(0)
About NLOG log time to ms
摘要:${date:format=yyyy-MM-dd HH\:mm\:ss.fff} .fff can get ms log or you can use longtime , it wiil get four number after s. $longtime 阅读全文
posted @ 2011-12-22 17:40 子虚乌有 阅读(270) 评论(0) 推荐(0)
How to generate random number in excel
摘要:=CONCATENATE(IF(INT(RAND()*2)=0,CHAR(INT(RAND()*9+48)),IF(INT(RAND()*2)=0,CHAR(INT(RAND()*25+65)),CHAR(INT(RAND()*25+97)))),IF(INT(RAND()*2)=0,CHAR(IN 阅读全文
posted @ 2011-12-22 17:33 子虚乌有 阅读(271) 评论(0) 推荐(0)
About Bitmap
摘要:BitMap is a useful struct, here is a simple class for get and set 阅读全文
posted @ 2011-11-17 17:07 子虚乌有 阅读(153) 评论(0) 推荐(0)
Static class& class init
摘要:Today, when i read some part of the system, i found a static class, so i record here static class or non static class can has static constructor. stat 阅读全文
posted @ 2011-11-17 17:02 子虚乌有 阅读(331) 评论(0) 推荐(0)
About Abstract
摘要:today i get puzzle about abstract, so i try to do example abstract method only can be used in abstract class. 阅读全文
posted @ 2011-11-14 17:23 子虚乌有 阅读(149) 评论(0) 推荐(0)
First Write ASP.Net
摘要:As a simple demo create, i met some problem in this procesfirst, how to use controls. such as ASPxTreeList, GridViewsecond, change Windows Auth to Sql 阅读全文
posted @ 2011-11-11 17:05 子虚乌有 阅读(323) 评论(0) 推荐(0)
About Link for GridView
摘要:when we need add a link to GridView , so we can use template just like :<asp:TemplateField HeaderText="Name"><ItemTemplate><a href='<%#Eval("your url" 阅读全文
posted @ 2011-11-07 13:14 子虚乌有 阅读(146) 评论(0) 推荐(0)
DataSet ->Table ->Row ->Column
摘要:Get From MSDN, this example give out how to use DataSet struct private void PrintRows(DataSet dataSet){ // For each table in the DataSet, print the ro 阅读全文
posted @ 2011-10-28 13:20 子虚乌有 阅读(232) 评论(0) 推荐(0)
About Reflection of C++
摘要:this topic is for Reflection of C++, In c++ language, there is no Reflection, so we can't get a new object by string, such as ClassA cc = GetClass("Cl 阅读全文
posted @ 2011-10-27 16:00 子虚乌有 阅读(165) 评论(0) 推荐(0)
Reback 2011.10.25
摘要:Since i forget my password, i can't login in nearly one month. Why so long ? because in company, other mail box is forbidden. so i should use my homen 阅读全文
posted @ 2011-10-26 12:28 子虚乌有 阅读(199) 评论(0) 推荐(0)
delegate method begininvoke
摘要:when i review code , follow puzzle me, action.BeginInvoke(importer, criticalOperation, ImportAsyncCompleted, criticalOperation);how do it ? after use 阅读全文
posted @ 2011-09-29 18:22 子虚乌有 阅读(283) 评论(0) 推荐(0)
A test for analysize text
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml; using System.IO; namespace HardCode { publiccl 阅读全文
posted @ 2011-09-28 19:30 子虚乌有 阅读(362) 评论(0) 推荐(0)
Find the bug
摘要:today , i find the bug , in old version,there is a object record the count, bu in new code, these code has been removed. if (_newDataObjects != null) 阅读全文
posted @ 2011-09-23 19:42 子虚乌有 阅读(191) 评论(0) 推荐(0)
TestReadonly
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace TestReadonly { classProgram { staticvoid Main(string[] 阅读全文
posted @ 2011-09-22 19:07 子虚乌有 阅读(168) 评论(0) 推荐(0)
Find a Bug
摘要:when a learn bussines, it's a bug , as follow: int beforeExcuteNum = getAllNewRowNum(); excute() int afterExcuteNum = getAllNewRowNum(); if (afterExcu 阅读全文
posted @ 2011-09-21 18:58 子虚乌有 阅读(206) 评论(0) 推荐(0)
dilike use var to much
摘要:i hate it, i real don't know what real type is, so i should check it often what is the object type. are you feel the same ? 阅读全文
posted @ 2011-09-20 18:31 子虚乌有 阅读(121) 评论(0) 推荐(0)

上一页 1 2 3