自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 收藏
  • 关注

转载 Making a System Tray Icon for your application

<br />http://www.dreamincode.net/forums/topic/116283-make-your-application-minimize-to-system-tray-in-c%23/<br /> <br /> <br />http://progtuts.info/14/your-c-program-in-the-system-tray/<br /> <br />This tutorial will cover the use of the NotifyIcon, better

2011-01-07 10:34:00 597

原创 string to byte array ----- byte array to string

// C# to convert string to a byte array.<br /> public static byte[] StrToByteArray(string str){    System.Text.UTF8Encoding  encoding=new System.Text.UTF8Encoding();    return encoding.GetBytes(str);}<br /> <br /> // C# to convert a byte array to a string.

2011-01-07 10:32:00 2418

原创 insert a image to the database. (convert byte[] to varbinary)

<br />byte[] data = null;<br />            string sPath = "C://photoimage.jpg";<br />            //Use FileInfo object to get file size.<br />            FileInfo fInfo = newFileInfo(sPath);<br />            long numBytes = fInfo.Length;<br /> <br />      

2011-01-07 10:28:00 671

转载 c# 笔试题级参考答案大全

1. c#中错误处理机制有哪些     CLR提供的结构化错误处理机制,用try..catch..finally 捕获2. public/protect/private/internal修饰符的区别     public:任何类和成员都可以访问    protect:该类和派生类能访问    private:只能该类访问    internal:只能在包含它的程序集中访问3. 大量数据(如3000万条数据)并发处理时,有哪几种机制     存储过程或事务.取得最大标识的时候同时更新,注意主键不是自增量方式.

2011-01-07 10:24:00 704

空空如也

空空如也

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

TA关注的人

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