· ////验证用户名是否与注册数据库中的重名!!!
Private Sub check_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles check.ClickDim myConnection As OleDbConnectionDim myCommand As OleDbCommandDim dbname As Stringdbname = Server.MapPath("db1.mdb")...
· using System;using System.Web.UI;using System.Web.UI.WebControls;using System.ComponentModel;using System.Text;namespace NSLzhPages{public class LzhPages : System.Web.UI.WebControls.WebControl{private int _count;//每页显示的记录条数private int _currentPage;//当前页private int...
· 使用UDPClient类
这个是我写的测试代码,供参考~using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.Globalization;
using System.Net;
using System.Net.Sockets;
using System.Threadin...
· INTRODUCTION
This article describes the event log entries that you can find when you use Microsoft ASP.NET.
MORE INFORMATION
The following list describes the different types of event log entries that you may experience when you use ASP.NET:
MessageId=1000
Severity=Error
asp...
· Imports System
Imports System.Data
Imports System.Configuration
Public Class ttuser'****************************************************************************'' TTUser Class'' The TTUser class represents a Time Tracker user, including their unique' userID and UserName. Cus...
· MSHFlexGrid控件点击时可以选中多行,但有时我们需要仅仅选中一行,有一个小技巧:Option Explicit
Dim CURRENTROW As Integer
Private Sub Form_Load()
Dim i As Integer, j As Integer
With MSHFlexGrid1
.Rows = 10
.Cols = 4
For i = 1 To 9
.TextMatrix(i, 0) = "第 " & i &...