C# 串行化和并行化 补一
补:依托串行实现Person类的clone using System;using System.Collections.Generic;using System.Text;using System.Runtime.Serialization.Formatters.Binary;using System.Runtime.Serialization.Form...
C# 串行化和并行化
using System;using System.Collections.Generic;using System.Text;using System.Runtime.Serialization.Formatters.Binary;using System.Runtime.Serialization.Formatters.Soap;using System.IO; nam...
速记 线程池
早上起的得早,搂了一眼线程池的内容速记下来。 public static void Main() { &...
吃亏和付出经常是必须的 转ITPUB 胡才勇博客
转ITPUB 胡才勇博客 吃亏和付出经常是必须的 http://space.itpub.net/14682504/viewspace-574925学习!学习!再学习!在想不通时想不开时,就来学习一下!职场是个名利场,只是所有怀抱理想和追求的人几乎...
Delegates 学习简记三
Normal 0 false false false MicrosoftInternetExplorer4 <style.st1\:*{behavior.:url(#ieooui) }</style.<style.<style. /* Style. Definition...
Delegates 学习简记二
Normal 0 false false false MicrosoftInternetExplorer4 <style.st1\:*{behavior.:url(#ieooui) }</style.<style.<style. /* Style. Definition...
Delegates 学习简记一
Normal 0 false false false MicrosoftInternetExplorer4 <style.st1\:*{behavior.:url(#ieooui) }</style.<style.<style. /* Style. Definition...
Asp.net 页面间传值简记
Asp.net 页面间传值简记1. URL传值Page1:Context.Server.Transfer("Default2.aspx?RequestValue=---100---");Page2:string str = Request["RequestValue"].ToString();2. Session or Application 传值Page1:Sessio...
SQL 注入-SQL Server 2005 联机丛书(2008 年 11 月)
在代码中检查 SQL 注入 应检查所有调用 EXECUTE、EXEC 或 sp_executesql 的代码。可以使用类似如下的查询来帮助您标识包含这些语句的过程。SELECT object_Name(id) FROM syscomments WHERE UPPER(text) LIKE '%E...
简记:GridView中 click 某一行时将此行中一个cell内容取出。
/// <summary> /// Rew Data Bound /// </summary> /// <param name="sender">object</param> /// <param name="e">G...
IIS工作原理 【转】
网络转载 提到“张子阳”可能是作者。引言我查阅过不少Asp.Net的书籍,发现大多数作者都是站在一个比较高的层次上讲解Asp.Net。他们耐心、细致地告诉你如何一步步拖放控件、设置控件属性、编写CodeBehind代码,以...
override and new 的区别 速记
using System;using System.Collections.Generic;using System.Text;namespace ConsoleApplication7{ class Program { static voi...
SecureString 速记
static void Main(string[] args) { System.Security...
Forms Authentication 速记[20090203修正]
一个Web Site, Login page 是Default.aspx, login Succeed 则转到Succeed.aspx.没有通过Form. Authentication则被重定向到Login page.20090203修正内容:web.config的session&forms标签,页面中session中的测试。...
ADO.Net对Oracle数据库的操作 3
2.2 数据集的浏览string Oraclestr = "select name from telephonebook ";OracleDataAdapter myoadapt = new OracleDataAdapter(Oraclestr, myConnec...
ADO.Net 对 Oracle数据库的操作 2
二 用C# 写一个连接数据库程序的步骤在程序中要使用 System.Data.OracleClient 命名空间中类的子集来对Oracle数据库操作的步骤:1、 将 System.Data.OracleClient(用于Oracle 的 Microsoft .NET 框架数据提...
ADO.Net对Oracle数据库的操作 1
一 ADO.Net简介 [转自网络,收藏学习]访问数据库的技术有许多,常见的有一下几种:开放数据库互联(ODBC)、 数据访问对象(DAO)、远程数据对象(RDO)、 ActiveX数据对象(ADO)。我们今天主要要学习ADO.NET...
学习简记:SQL Server Encryption and Certificate
使用证书加密:-- Create tableCREATE TABLE TestTable_two(ID int IDENTITY(1,1),Data varbinary(8000)); GO SELECT * FROM TestTable_two -- Create Database Master Key  ...
学习简记:SQL Server Encryption and Symmetric Key Encryption
Introduction to SQL Server Encryption and Symmetric Key Encryption TutorialIntroduction SQL SERVER 2005 provides encryption as a new feature to protect data against the attacks of hackers. Hackers m...
什么是CTS、CLS和CLR
什么是CTS、CLS和CLR节选自《.NET程序员面试指南》 CTS、CLS和CLR是.NET框架的基本概念,但往往成为程序员们忽视的部分。清楚理解三者的概念,有助于.NET程序员编写高效安全的.NET程序。 ...