· using System;/* The reason that i am using interface is that, in several * weeks i will use a bitwise operator for have encryption and decryption* */
public interface IBindesh
{
string encode(string str);
string decode(string str);
}namespace EncryptionDecryption
{
...
· <pre>
<%@ Page Language="VB" %>
<HTML><head>
<script language="VB" runat="server"> Sub Page_Load(Sender As Object, e As EventArgs)
If Not IsPostBack Then
Dim values As New ArrayList() ...
· filestream对象为文件的读写操作提供通道,而file对象相当于提供一个文件句柄,在文件操作中,filestream对象的操作比较简单。创建filestream对象创建filestream对象可以采用file对象的create方法或open方法,也可以采用filestream对象的构造函数使用file对象的create方法
dim mikecatstream as fi...
· 我们在一个DataSet中可以包含多个DataTable对象。DataSet myDataSet = new DataSet();DataTable tableA = new DataTable("A");DataTable tableB = new DataTable("B");myDataSet.Tables.Add(tableA);myDataSet.Tables.Add(tableB);这样在myDataSet中就包含了一个tableA和一个t...
· MSN:public Class ChinaRing1Inherits System.Web.UI.Page#Region " Web 窗体设计器生成的代码 "'该调用是 Web 窗体设计器所必需的。<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()End SubProtected WithEvents ChinaRingCkBox1 As System.Web.UI...
· 这段时间,我正在学习XML,书上介绍使用Xerces-C或Xerces-J来验证XML文档的Schema或DTD,结果,发现上面的工具不好用.后来,只有放下书,到书店看看,有没有其他什么书能带来帮助.当检到Professiona ASP.NET XML with C# 这本书时,里面讲到了使用System.XML 和 System.XML.Schema命名空间下的XMLTextReade...
· 'The Inherits Line calls the Namespace.Class inside the DLL
<%@ Page Language="VB" Inherits="ASPFreeS.MyCodeBehind" %><HTML><head>
<title>Calling a Button Event from a compiled DLL</title>
</head>
<body>
<fo...