freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

火車訂票系統(tǒng)-閱讀頁(yè)

2024-12-26 03:35本頁(yè)面
  

【正文】 string beginStation = [0].Cells[2].()。 string beginTime = [0].Cells[3].()。 string times = [0].Cells[10].()。 string ticketKind = ()。 int num1 = (num)。 if (num3 10) { (script language=javascriptalert(39。)/script)。 //創(chuàng)建數(shù)據(jù)庫(kù)連接 SqlConnection conn1 = new SqlConnection([TicketsMSConnectionString].ConnectionString)。 //創(chuàng)建命令對(duì)象 SqlCommand m1 = new SqlCommand()。 + trainID + 39。 + times + 39。 + ticketKind + 39。 = conn1。 //c1記錄 tbl_orderhistory表中該類型的訂票數(shù) while (()) { c1 = c1 + 1。 火車訂票系統(tǒng)畢業(yè)論文 30 //if () if (num3 120 c1) { ()。 num4 num3。 ()。 //查找數(shù)據(jù)庫(kù)表中的信息 if (ticketKind == 硬座 ) { int k = 0。 cars 4 amp。 k == 0。 Seat = 40。 + trainID + 39。 + times + 39。 + ticketKind + 39。 + cars + 39。 + Seat + 39。 = conn。 //判斷用戶名是否存在 if () { ()。 } else { ()。 Seat1 = Seat。 break。 for (int cars = 4。amp。 cars++) { for (int Seat = 1。 Seat++) { = select * from tbl_orderhistory where (trainID=39。and times=39。and ticketKind=39。and cars=39。and Seat=39。)。 SqlDataReader dr = ()。 continue。 cars1 = cars。 k++。 } } } } else if (ticketKind == 硬臥 ) { int k = 0。 cars 10 amp。 k == 0。 Seat = 40。 + trainID + 39。 + times + 39。 + ticketKind + 39。 + cars + 39。 + Seat + 39。 = conn。 //判斷用戶名是否存在 if () { 火車訂票系統(tǒng)畢業(yè)論文 32 ()。 } else { ()。 Seat1 = Seat。 break。 for (int cars = 10。amp。 cars++) { for (int Seat = 1。 Seat++) { = select * from tbl_orderhistory where (trainID=39。and times=39。and ticketKind=39。and cars=39。and Seat=39。)。 SqlDataReader dr = ()。 continue。 Seat1 = Seat。 k++。 } } } } { if () { //創(chuàng)建連接 火車訂票系統(tǒng)畢業(yè)論文 33 SqlConnection = new SqlConnection()。Initial Catalog=TicketsMS。 ()。 //創(chuàng)建命令對(duì)象 SqlCommand cm = new SqlCommand()。 = insert into tbl_orderhistory values(39。,39。,39。,39。,39。,39。,39。,39。,39。,39。, 39。,39。)。 SqlConnection con = new SqlConnection()。Initial Catalog=TicketsMS。 ()。 = con。 + trainID + 39。 + times + 39。 ()。 (script language=javascriptconfirm(39。)。39。 ()。 string sql = select * from tbl_notice。//創(chuàng)建數(shù)據(jù)集 SqlDataAdapter sda = new SqlDataAdapter(sql, )。 (ds, notice)。 = [0].DefaultView。 = true。 = ()。 } else { = true。 } else { = true。 ()。 Datalistbind()。 Datalistbind()。 Datalistbind()。 Datalistbind()。 Datalistbind()。 Datalistbind()。 DateTime k1, k2,k3。 int rowindex = ()。 Session[OrderID] = a。 Session[times] = b。 Session[trainID] = c。 Session[beginTime] = d。 k2 = ((()))。 if ( ||( == amp。 (20)= k1)) { { ()。 = Data Source=localhost。Integrated Security=True。 SqlCommand = new SqlCommand()。 = update tbl_ticket set ticket =ticket+1 where trainID =39。 and dates= 39。 SqlDataReader dr = ()。 ()。 } } //退票 delete事件 代碼 DELETE FROM tbl_orderhistory WHERE (OrderID = OrderID) AND (times CONVERT(varchar(10) , getdate(), 120 )) or ((OrderID = OrderID) and (times = CONVERT(varchar(10) , getdate(), 120 )) and (datediff(minute,CONVERT(varchar(8) , getdate(), 108 ), beginTime)=20)) //查詢車次信息,如果沒有查到,出現(xiàn)相應(yīng)的信息提示。 int c1 = 0。 ()。 //查找數(shù)據(jù)庫(kù)表中的信息 = select * from tbl_trains join tbl_ticket on = where + Session[answer]。 SqlDataReader dr1 =
點(diǎn)擊復(fù)制文檔內(nèi)容
研究報(bào)告相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1