摘要:
Measure String Size In Pixels (C #) Posted by Shahar Sometimes we need to know the width of a given string in pixels, do you know how to compute it? Before writing some long code, please notice th... 阅读全文
摘要:
从.net Framework中copy出来的,修改了一下 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->public partial class Form1 : Form { public Form1() ... 阅读全文
摘要:
最近在做一个SQL操作类,大部分都是对SQLHelper做一下封装,最后希望实现一个可以执行参数化SQL的方法,SQL语句中允许像string.Format(formatStr,args)中的formatStr一样,用{0}{1}...作为参数格式,而实际将被转换为SQL参数化的格式,而SQL参数的值parameterValues最终将会被转换为合适类型的SqlParameter[]数组。 阅读全文
摘要:
Virtual Earth Map Control SDK 6.2 and Virtual Earth Web Services SDK 1.0 (MS Downloads) PostSharp 1.0 Released - Aspect-Oriented Programming (AOP) Framework for .NET (David Hayden) Onli... 阅读全文
摘要:
原文出自:http://freeoh.spaces.live.com/blog/cns!57853FFFBF81D887!1185.entry?wa=wsignin1.0 引用 :读取Excel丢失内容的问题 通常读取Excel文件的方法有两种,一是通过ADO的OleDb,一是通过Com组件; 这里要说的是通过OleDb读取时,遇到的内容丢失问题。 症状:使用Microsoft.Jet.OLEDB... 阅读全文
摘要:
Do you want to draw a calendar with event, just like http://www.google.com/calendar/render But you don’t know how to start, right? If so, I suggest you begin with some easier examples, because ... 阅读全文
摘要:
Code to look at jgauffin - A Flexible Plugin System - 插件系统 Alberto Ferrazzoli - Babel Obfuscator - codeproject上发表的.net的混淆器,值得关注 Laughing.John - Generic Lazy Load Cache Class ... 阅读全文
摘要:
Web & Controls Custom Alert Boxes using JavaScript and the DOM Progress Image while Loading Long Running Results A Custom Dialog Box Control A Library for Writing/Build... 阅读全文
摘要:
I was trying to set focus using the code this.ScriptManager1.SetFocus(myControlName.ClientID); and I wrote this code in my SelectedIndexChanged Event Function. That time this code didn't work. N... 阅读全文
摘要:
Web http://www.webappers.com/ - 一个很好的web资源网站,搜集了大量的学习资料和漂亮的例子,如图标,button,window等组件 Multibox Supports Images, Flash, Video, MP3 and HTML - 一个图片,flash等展示的Multibox,非常漂亮 http://www.iconsh... 阅读全文