宾馆客房管理系统(11)

发布时间:2021-06-06

宾馆客房管理设计,工具sql和vs2008.

Dim ee As Integer sql.Open() Try

ee = cmmd3.ExecuteNonQuery() Catch wx2 As Exception MsgBox(wx2.Message)

End Try sql.Close()

MsgBox("欢迎您,尊贵的会员!") End Sub

Private Sub Button10_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button10.Click yuju = "select * from t_vip"

spq = New SqlDataAdapter(yuju, sql) spq.Fill(sjj, "001")

DataGrid4.DataSource = sjj.Tables("001") End Sub

Private Sub Button11_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button11.Click

Dim yuju4 As String = "insert into t_guest values('" & TextBox5.Text & "','','" & TextBox8.Text & "','" & TextBox7.Text & "')"

Dim yuju6 As String = "insert into t_book values('" & TextBox8.Text & "','','" & TextBox9.Text & "','','','" & TextBox10.Text & "')"

Dim cmmd4 As New SqlCommand(yuju4, sql) Dim cmmd6 As New SqlCommand(yuju6, sql) Dim ee2 As Integer Dim ee6 As Integer sql.Open() Try

ee2 = cmmd4.ExecuteNonQuery() ee6 = cmmd4.ExecuteNonQuery() Catch wx3 As Exception MsgBox(wx3.Message)

End Try sql.Close()

MsgBox("预订成功!") End Sub

Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As

宾馆客房管理系统(11).doc 将本文的Word文档下载到电脑

精彩图片

热门精选

大家正在看

× 游客快捷下载通道(下载后可以自由复制和排版)

限时特价:7 元/份 原价:20元

支付方式:

开通VIP包月会员 特价:29元/月

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:fanwen365 QQ:370150219