你后面這些條件都錯(cuò)誤:
成都創(chuàng)新互聯(lián)專注于企業(yè)成都營(yíng)銷網(wǎng)站建設(shè)、網(wǎng)站重做改版、濉溪網(wǎng)站定制設(shè)計(jì)、自適應(yīng)品牌網(wǎng)站建設(shè)、HTML5建站、商城網(wǎng)站定制開發(fā)、集團(tuán)公司官網(wǎng)建設(shè)、外貿(mào)營(yíng)銷網(wǎng)站建設(shè)、高端網(wǎng)站制作、響應(yīng)式網(wǎng)頁設(shè)計(jì)等建站業(yè)務(wù),價(jià)格優(yōu)惠性價(jià)比高,為濉溪等各大城市提供網(wǎng)站開發(fā)制作服務(wù)。
( cc.business='INSPECTION' and bil.customer_name like '%' + cl.client_name + '%' or
cc.business='INSPECTION' and bil.header_dff_value12 like '%' + cl.client_name + '%' or
cc.business='INSPECTION' and bil.header_dff_value13 like '%' + cl.client_name + '%' or
cc.business='INSPECTION' and bil.ship_to_party_name like '%' + cl.client_name + '%' or
cc.business='INSPECTION' and bil.header_dff_value6 like '%' + cl.client_name + '%' or
cc.business='AUDIT' and bil.customer_name like '%' + cl.client_name + '%' or
cc.business='AUDIT' and bil.header_dff_value13 like '%' + cl.client_name + '%' or
cc.business='AUDIT' and bil.ship_to_party_name like '%' + cl.client_name + '%' or
cc.business='AUDIT' and bil.header_dff_value6 like '%' + cl.client_name + '%' or
cc.business='TESTING' and bil.customer_name like '%' + cl.client_name + '%' or
cc.business='TESTING' and bil.header_dff_value12 like '%' + cl.client_name + '%' or
cc.business='TESTING' and bil.ship_to_party_name like '%' + cl.client_name + '%' )
你這樣的條件查出來的結(jié)果應(yīng)該是不對(duì)的
再這,我認(rèn)為你那塊條件可以不需要,你再上面已經(jīng)處理過,下面還有意義嗎?
座艙圖的座位數(shù)是固定的,那對(duì)應(yīng)座位記錄數(shù)量也是相同的。
每個(gè)座位可以制作兩張圖片,一張是賣出的,一張是沒賣出的,你也可以定義到CSS中
然后用查詢語句查詢出這個(gè)艙位的內(nèi)容
ID 座位號(hào) 是否賣出
1 1A 是
2 1B 否
那你在頁面中的座艙圖是顯示好的,你根據(jù)記錄來綁定是否賣出,顯示出不同的圖片
在圖片中綁定 % "img src=\""+Eval(“是否賣出").ToString()=="是"?"賣出圖片":"沒沒出的圖片路徑"+"\""%
用視圖,做個(gè)公式,方法是用本航班總座位數(shù)減去已定出的座位數(shù)就行,然后前臺(tái)直接在視圖中提取數(shù)據(jù)。統(tǒng)計(jì)已定出的座位數(shù)的方法得根據(jù)你的表結(jié)構(gòu)設(shè)計(jì)語句
網(wǎng)站欄目:關(guān)于SqlServer飛機(jī)的信息
網(wǎng)頁鏈接:http://chinadenli.net/article10/hohsdo.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供網(wǎng)站策劃、做網(wǎng)站、App開發(fā)、商城網(wǎng)站、建站公司、移動(dòng)網(wǎng)站建設(shè)
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來源: 創(chuàng)新互聯(lián)