'用户表类
Public Class user
Private mName As String
Private mPassword As String
Public Property Name As String
Get
Return mName
End Get
Set(ByVal value As String)
mName = value
End Set
End Property
Public Property Password As String
Get
Return mPassword
End Get
Set(ByVal value As String)
mPassword = value
End Set
End Property
Public Function GetAllUser() As DataTable
Dim conn As SqlConnection = GetConnection()
conn.Open()
Dim strSql As String = "Select * from usertable"
Dim da As New SqlDataAdapter(strSql, conn)
Dim dt As New DataTable
Visual Basic 2010 数据库开发之超市管理系统09密码修改窗体草稿
本文档详细介绍了使用Visual Basic 2010开发超市管理系统中密码修改窗体的过程。内容涵盖设计思路、数据库交互以及用户验证等关键步骤,为初学者提供了一个实用的案例。
摘要由CSDN通过智能技术生成