登录
首页 » C# » 1)订票。若该航次余票数大于等于乘客订票数,则在该航次的乘客表(按乘客姓氏字母顺序连接)中,插入订票乘客的信息项,并修改该航次有关数据,否则,给出相应的提示信息...

1)订票。若该航次余票数大于等于乘客订票数,则在该航次的乘客表(按乘客姓氏字母顺序连接)中,插入订票乘客的信息项,并修改该航次有关数据,否则,给出相应的提示信息...

于 2022-03-01 发布 文件大小:2.46 kB
0 130
下载积分: 2 下载次数: 1

代码说明:

1)订票。若该航次余票数大于等于乘客订票数,则在该航次的乘客表(按乘客姓氏字母顺序连接)中,插入订票乘客的信息项,并修改该航次有关数据,否则,给出相应的提示信息。 (2)退票。若该航次当前退票数小于等于乘客原订票数,则在相应的乘客表中找到该乘客项,修改该航次及乘客表中有关数据。当由于退票,使得该乘客的订票数为零时,要从乘客表中撤消该乘客项;否则,给出相应的提示信息。 -1) booking. If the voyage more than the number of votes greater than or equal to the number of passengers booking, the passenger in the voyage List (in alphabetical order by surname of passengers to connect), the insertion of passengers booking information items, and modify the data of the voyage, otherwise, given the corresponding message. (2) refund. If the voyage is less than the number of the current refund the original number of votes equal to the passengers, the passengers in the corresponding table to find the passenger, the changes to the voyage and the passengers on the data table. When as a result of a refund, making the passenger booking the number of zero, the table to withdraw from the passengers of the passenger Otherwise, the corresponding message.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 3- 回放下载
    视频监控回放下载功能,实现了视频监控中回放某时间段内的代码,c++写的(Video playback download function)
    2018-06-06 17:27:46下载
    积分:1
  • Visual C# 自动识别Access数据库路径
    Visual C# 自动识别Access 2000数据库路径,当然不仅限于Access2000,Access2007版本也可以,此源码仅是示例,当然打开程序后,程序会自动搜索Access路径,连接之后自动打开程序。大致的实现方法,可参考下述代码:   string strPath = Application.StartupPath + " est.mdb";//得到数据库路径   string ConStr = "Provider=Microsoft.Jet.OLEDB.4.0;Data source=" + strPath;//创建连接字符串   OleDbDataAdapter OleDatOleDat = new OleDbDataAdapter(//创建数据适配器对象    "select * from 帐目", ConStr);   OleDatOleDat.Fill(dt);//填充数据表   count = dt.Rows.Count;   textBox1.Text = dt.Rows[0][0].ToString();//显示数据表中数据   textBox2.Text = dt.Rows[0][1].ToString();//显示数据表中数据   textBox3.Text = dt.Rows[0][2].ToString();//显示数据表中数据   textBox4.Text = dt.Rows[0][3].ToString();//显示数据表中数据
    2022-03-24 00:39:43下载
    积分:1
  • LRU
    实现的数据库io缓存模拟程序,读入五万个地址和读写标志,输出命中率,io次数等(Io caching implemented simulation program that reads fifty thousand addresses and write flag output hits, io number, etc.)
    2015-12-19 23:52:04下载
    积分:1
  • hannuota_c++
    说明:  汉诺塔C++源代码,递归实现,编程环境为VS2015(Hanoi Tower C++ source code, recursive implementation, programming environment for VS2015)
    2019-05-07 21:10:14下载
    积分:1
  • I2C_SSD1306_STM32(HW)
    I2C的oled加键盘显示的程序。基于STM32F103 (I2C The program oled display and keyboard. Based STM32F103)
    2020-11-21 21:29:37下载
    积分:1
  • 《校务通管理系统》项目管理案例分析
    关于《校务通管理系统》项目管理案例分析。。。。(Case analysis of project management in school affairs management system)
    2018-04-02 14:12:25下载
    积分:1
  • 15lions
    说明:  mame bios for the 15lions platform
    2019-01-19 11:54:20下载
    积分:1
  • Graphic
    文件设备描述表的使用,利用兼容DC实现图形的保存和再现(Document device use, the use of DC-compatible graphics to achieve the preservation and reproduction)
    2009-04-09 21:33:23下载
    积分:1
  • PIDforlier
    PID算法的傅立叶展开式实现法!用于大功率温控,速度控制。稳定度高,精度达0.01(PID algorithm of the Fourier expansion to achieve the Law! Used for high-power temperature control, speed control. High stability, accuracy up to 0.01)
    2009-10-28 17:51:44下载
    积分:1
  • 基于DirectSound的声音播放器
    说明:  用VC编的基于DirectSound的声音播放器,适合多媒体学习之用(VC series based on the voice of DirectSound players, suitable for use multimedia learning)
    2005-11-17 17:14:22下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载