• 大小: 1.02MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-10-23
  • 语言: 其他
  • 标签: visualstudio  

资源简介

KTV点歌系统源码 后台数据维护包括:明星信息、歌曲信息、歌曲类型和用户管理功能 可以按照歌名、歌手、数字等进行点歌和播放 默认登陆帐号/密码:51bcw/51bcw DB_51bcw下为Acces数据库文件

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using KTV.KTVclass;
using System.Data.OleDb;
namespace KTV
{
    public partial class frmAuton : Form
    {
        public frmAuton()
        {
            InitializeComponent();
        }
        public frmAuton(int intcuntstring strId)
        {
            InitializeComponent();
            intFalg = intcunt;
            strgetId = strId;
        }
        public int intFalg = 0;
        public string strgetId = null;
        frmdictionaryMenthod frmDictiyon = new frmdictionaryMenthod();
        tb_authorinfo tbAu = new tb_authorinfo();
        tb_authorinfoMenthod tbAuMenthod = new tb_authorinfoMenthod();
        private void frmAuton_Load(object sender EventArgs e)
        {
            frmDictiyon.dictionaryFind(“1“cmbauthorcompany);
         
            if (intFalg == 1)
            {
                txtauthorId.Text = tbAuMenthod.gettb_authorinfoID();
            }
            if (intFalg == 2)
            {
                getFill();
            }

         }

        public void getFill()
        {
            OleDbDataReader dr = tbAuMenthod.AuthFind(strgetId);
            dr.Read();
            if (dr.HasRows)
            {
                txtauthorId.Text = dr[0].ToString();
                txtauthorName.Text=dr[1].ToString();
                cmbauthorSex.Text=dr[2].ToString();
                daAuthorbirthday.Value=Convert.ToDateTime(dr[3].ToString());
                comboBox2.Text=dr[4].ToString();
               cmbauthorcompany.Text=dr[5].ToString();
                txtauthorRecma.Text=dr[6].ToString();
                  txtauthorzjm.Text=dr[7].ToString();
           
            }
            dr.Close();
        }
        private void bntSure_Click(object sender EventArgs e)
        {
            if (txtauthorName.Text == ““)
            {
                MessageBox.Show(“姓名不能为空“);
                return;
            }
            tbAu.intauthorId = txtauthorId.Text;
            tbAu.strauthorName = txtauthorName.Text;
            tbAu.strauthorSex = cmbauthorSex.Text;
            tbAu.daauthorbirthday = daAuthorbirthday.Value;
            tbAu.strauthorGenre = comboBox2.Text;
            tbAu.strauthorcompany = cmbauthorcompany.Text;
            tbAu.strauthorRecma = txtauthorRecma.Text;
            tbAu.strauthorzjm = txtauthorzjm.Text;
            tbAu.daRdateTime = DateTime.Now;
            if (intFalg == 1)
            {
                if (tbAuMenthod.AuthAdd(tbAu) == 1)
                {
                    MessageBox.Show(“添加成功!“);
                    frmMain frm = (frmMain)this.Owner;
                    tbAuMenthod.tb_authorinfoFill(“2“frm.lvAuton);
                    intFalg = 0;
                    this.Close();

                }
                else
        

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        898  2008-11-29 14:00  KTV.sln

     文件       1717  2009-07-24 16:21  KTV\51bcw下载必读.txt

     文件        800  2009-05-25 15:34  KTV\app.config

     文件      49152  2009-05-25 13:00  KTV\bin\Debug\AxInterop.WMPLib.dll

     文件     929792  2009-05-25 13:08  KTV\bin\Debug\DB_51aspx\db_KTV.mdb

     文件     274432  2009-05-25 13:00  KTV\bin\Debug\Interop.WMPLib.dll

     文件     974848  2009-05-25 15:51  KTV\bin\Debug\KTV.exe

     文件        800  2009-05-25 15:34  KTV\bin\Debug\KTV.exe.config

     文件     163328  2009-05-25 15:51  KTV\bin\Debug\KTV.pdb

     文件       5632  2005-12-08 14:51  KTV\bin\Debug\KTV.vshost.exe

     文件        800  2009-05-25 15:34  KTV\bin\Debug\KTV.vshost.exe.config

     文件     929792  2009-07-24 16:22  KTV\DB_51bcw\db_KTV.mdb

     文件       9430  2008-11-29 14:00  KTV\frmAuton.cs

     文件      11824  2008-11-29 14:00  KTV\frmAuton.Designer.cs

     文件       5814  2008-11-29 14:00  KTV\frmAuton.resx

     文件       3136  2008-11-29 14:00  KTV\frmDaiGe.cs

     文件       8583  2008-11-29 14:00  KTV\frmDaiGe.Designer.cs

     文件       5814  2008-11-29 14:00  KTV\frmDaiGe.resx

     文件       2886  2008-11-29 14:00  KTV\frmdictionary.cs

     文件       5836  2008-11-29 14:00  KTV\frmdictionary.Designer.cs

     文件       5814  2008-11-29 14:00  KTV\frmdictionary.resx

     文件       2317  2009-05-25 13:03  KTV\frmLogin.cs

     文件       6738  2008-11-29 14:00  KTV\frmLogin.Designer.cs

     文件       5814  2008-11-29 14:00  KTV\frmLogin.resx

     文件      12361  2008-11-29 14:00  KTV\frmMain.cs

     文件      27913  2008-11-29 14:00  KTV\frmMain.Designer.cs

     文件       5814  2008-11-29 14:00  KTV\frmMain.resx

     文件      10339  2008-11-29 14:00  KTV\frmMusicinfo.cs

     文件      11479  2008-11-29 14:00  KTV\frmMusicinfo.Designer.cs

     文件       6010  2008-11-29 14:00  KTV\frmMusicinfo.resx

............此处省略65个文件信息

评论

共有 条评论