· 在.NET中调用Oracle9i存储过程可以用多个数据提供者,比如OralceClient,OleDb。本文将用OralceClient为例。.NET语言用C#。一、调用一个带输入、输出参数的存储过程首先,在Oralce中创建存储过程如下:create or replace procedure GetRecords(name_out out varchar2,age_in in varchar2) asbegins...
· 这两天写了个类。针对Sql server和OLE数据库所写的。源码如下:\Classes\DbControl.cs
==========================================================using System;
using System.Data;
using System.Data.SqlClient;
using System.Data.OleDb;namespace GuestBook
{/// <summary>/// DbContr...
· <%@ Import Namespace="System.Data" %><%@ Import NameSpace="System.Data.OleDb" %><script laguage="VB" runat="server">Dim myConnection As OleDbConnection Dim myCommand As OleDbCommandsub page_load(sender as Object,e as E...
· In this example you will see how to send email and one way of sending attachments from within an .aspx file. The text boxes for the various components of the email are wrapped in a panel control, so if you have not used panels, you can learn a little about that .net control. ...
· Abstract: this article develops a reasonably secure login facility utilizing the inbuilt features of ASP.Net (forms based authentication). Also presented is an introduction to related security features and issues, in particular mentioning how security could be further improve...
· 本文介绍如何将一个目录里面的所有文件复制到目标目录里面。
下面介绍几个我们在该例程中将要使用的类:
1、Directory:Exposes static methods for creating, moving, and enumerating through directories and subdirectories.
2、Path:Performs operations on String instances that contain f...