· First of all, let me say a few words about this article. This is not an entirely original article but an ASP.NET adaptation of the ASP article that I’ve posted a few months ago. Original article can be found here: ADO Recordset Paging in ASP. The purpose of this article is t...
· Counting Records in an SQL Table by G.F. Weis Gfw --------------------------------------------------------------------------------I was working on a project using my C# Class Generator and realized that I had no way to get a count of the number of records in the table. In t...
· 演练:在Excel中建立自定义菜单项Brian A. RandellMCW Technologies, LLCSeptember 2003Applies to:Microsoft® Visual Studio® Tools for the Microsoft office SystemMicrosoft office Excel 2003Microsoft Visual Studio .NET 2003概述:office CommandBar对象提供了增加菜单项 ...
· 在VB.NET同样可以将报表导出到Excel和word进行输出,制作出专业水平的报表。具体操作如下:(注:首先需添加引用,选择COM-->选择Microsoft word Object Library和Microsoft Excel Object Library组件) Private Function CreaTable() As DataTableDim dt As New DataTable()dt.Columns.Add("...
· Function Bytes2bStr(vin)
if lenb(vin) =0 thenBytes2bStr = ""exit function
end if
''二进制转换为字符串Dim BytesStream,StringReturnSet BytesStream = Server.CreateObject("ADODB.Stream")BytesStream.Type = 2 BytesStream.OpenBytesStream.WriteText vinBytesStream....
· //版权所有 OSLEAGUE 2002-2003
//作者:Blood
using System;
using System.Data;
using System.Data.SqlClient;
using System.Web;
using OSLeagueForumXP.Components;namespace OSLeagueForumXP.Common
{
/// <summary>
/// 数据库操作通用类
/// </summary>
public...