巴扎黑
浏览量11718 | 粉丝242 | 关注1
2016-12-19 16:35:23
.NET中的zip的压缩和解压
来源于:http://www.cnblogs.com/zhaozhan/archive/2012/05/28/2520701.html 在.NET可以通过多种方式实现zip的压缩和解压:1、使用System.IO.Packaging;2、使用第三方类库;3、通过 System.IO.Compression 命名空间中新增的ZipArchive、ZipFile等类实现。 一、使用Syste ...
2495
2016-12-19 16:36:20
C#文件操作
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; namespace Example { class Program { static void Main(string[] args) ...
1256
2016-12-19 16:40:22
2016-12-19 16:41:54
Discuz论坛防止广告机的方法
source/include/post/post_newreply.php:在第406行 source/include/post/post_newthread.php:第125行 添加内容: //如果出验证码,则限制发帖长度和内容。 if($seccodecheck){ if(strlen($message) > 40){ ...
1963
2016-12-19 16:43:06
.NET防止刷新重复提交
http://www.cnblogs.com/madehua/archive/2009/03/23/1420052.html Code public class RefreshServe : System.Web.UI.Page { private static ILog log = LogManager.GetLogger(typeof(RefreshServe)); ...
1917
2016-12-19 16:44:10
C#.net常用常混淆的知识点
1, 请你说说.NET中类和结构的区别? 答:结构和类具有大体的语法,但是结构受到的限制比类要多。结构不能申明有默认的构造函数,为结构的副本是�� ...
1852
2016-12-19 16:47:59
.net 打开文件
OpenFileDialog^ dlgOpenFile = gcnew OpenFileDialog (); String^ fileName; dlgOpenFile->InitialDirectory = "D:\\"; dlgOpenFile->Filter = "txt files (*.txt)|*.txt|A ...
1785
2016-12-19 16:50:36
2016-12-19 16:55:10
Java和.NET开发过程中的一些不同
用.NET平台下的C#语言开发了比较长一段时间,最近项目开始用JAVA来开发了,本文通过自己开发过程中的一些感受说下它们在具体开发过程的不同点,由于经验知识还有限,本篇文章只能从比较表面的以及自己常用的功能点来说明我所看到的不同点。 我是用VS2008和VS2010开发.NET程序,通过MyEclipse8.5开发JAVA程序,下面从IDE、语言、插件的不同点来做下简单的说明。 IDE ...
1522
2016-12-19 17:09:03
C#CS与BS数据请求交换
C# cs发送http get请求 try { WebRequest req = WebRequest.Create("http://127.0.0.1/test/loginsso.aspx?username=admin&password=admin"); ...
1882