c#中asp.net亲自编写不带www301到www域名下的页面代码

星期三, 十月 19th, 2011

用于.aspx网页中,直接在声明的第二行写。之前禁止出现任何html代码!

c# 获取当前系统用户的桌面代码

星期六, 七月 24th, 2010

string dir = Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory);

一句话搞定。