- 博客(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关注的人