Register Register Member Login Member Login Member Login Forgot Password ??
PHP , ASP , ASP.NET, VB.NET, C#, Java , jQuery , Android , iOS , Windows Phone
 

Registered : 109,027

HOME > ASP > ASP Forum > อยากได้โค้ด การจองตั๋วหนัง อยากได้โค้ด การจองตั๋วหนัง ที่มีการคลิ้กเลือกที่นั่งจาก checkbox ได้ แล้วไปเก็บลงฐานข้อมูล



 

อยากได้โค้ด การจองตั๋วหนัง อยากได้โค้ด การจองตั๋วหนัง ที่มีการคลิ้กเลือกที่นั่งจาก checkbox ได้ แล้วไปเก็บลงฐานข้อมูล

 



Topic : 001047

Guest




อยากได้โค้ด การจองตั๋วหนัง ที่มีการคลิ้กเลือกที่นั่งจาก checkbox ได้ แล้วไปเก็บลงฐานข้อมูล


Tag : - - - -







Move To Hilight (Stock) 
Send To Friend.Bookmark.
Date : 19 Feb 2547 12:37:54 By : pattaya View : 14959 Reply : 22
 

 

No. 1



โพสกระทู้ ( 74,058 )
บทความ ( 838 )

สมาชิกที่ใส่เสื้อไทยครีเอท

สถานะออฟไลน์
Twitter Facebook

อืม....คงจะหายากนะครับ
ผมเองก็ยังไม่เคยเจอเหมือนกัน
ต้องเขียนเองแล้วครับ






Date : 20 Feb 2547 20:28:18 By : webmaster
 


 

No. 2

Guest


อยากได้โค้ดเพื่อไปทำงานโปรเจ็คจบ
Date : 17 ก.ค. 2548 15:43:31 By : อยากได้โค้ดจองตั๋วหนัง
 

 

No. 3

Guest


เรามี
Date : 12 ก.ย. 2549 08:27:10 By : k
 


 

No. 4

Guest



อยากได้เพื่อทำโปรเจ็คต้องทำอย่างไงค่ะ
Date : 15 ก.ย. 2549 13:49:22 By : ปอ
 


 

No. 5

Guest


ช่วยตอบด้วยนะค่ะ

Date : 15 ก.ย. 2549 13:54:25 By : ปอ
 


 

No. 6

Guest


อยากได้ข้อมูลเกี่ยวกับการจองตั่วหนังไว้เพื่อทำโปรเจ็คส่งอาจารย์ จะได้อย่างไรค่ะ
Date : 9 ก.พ. 2550 11:17:37 By : ปุ้ม
 


 

No. 7

Guest


อยากได้เหมือนกันจะทำไงดีกร๊าบ
ส่งให้หน่อยได้ปะ
ที่ [email protected] นะ
กอบกุนมากกร๊าบ........................
Date : 15 พ.ค. 2550 15:04:52 By : มานะ ใจงาม
 


 

No. 8

Guest


อยากได้โค้ดการจองตั๋วหนัง
Date : 20 มิ.ย. 2550 15:40:05 By : ธนา รัตนเสถียร
 


 

No. 9

Guest


ผมอยากได้ ต้องส่งงานก่อนวันที่ 12 ตุลาคม

คายมีส่วนส่งให้ผมหน่อย [email protected]

ขอบคุณมาก ๆๆ เลยครับ
Date : 9 ต.ค. 2550 21:29:32 By : ลพัฒน์ จิตร์ฉลาด
 


 

No. 10

Guest


อยากได้โค้ดเกี่ยวกับการจองค่ะ แค่โมดูลเดียวกรุณาด้วยนะคะขอบคุณค่ะสำหรับคำตอบ
Date : 19 พ.ย. 2550 12:07:53 By : a
 


 

No. 11

Guest



อยากได้เพื่อทำโปรเจ็คต้องทำอย่างไงค่ะ
ส่งให้หน่อยได้ปะ

Date : 17 ม.ค. 2550 01:21:20 By : เปิ้ล
 


 

No. 12

Guest


อยากได้เหมือนกัน
Date : 21 เม.ย. 2551 11:10:09 By : pj
 


 

No. 13

Guest


ขอหน่อยความคิดเห็นที่ 3

Date : 21 เม.ย. 2551 11:19:42 By : PJ
 


 

No. 14

Guest


เข้ามานึกว่าจะมีโพสว่าให้ไปเอาโค้ดตัวอย่างได้ที่ไหนซะอีก เข้ามาเสียเวลาป่าว
Date : 29 ก.ย. 2551 16:01:05 By : skype
 


 

No. 15

Guest


อยากได้เหมือนกันอ่ะ ต้องส่งแล้วอ่ะ
ส่งให้เรามั่งนะ
Date : 19 ธ.ค. 2551 13:19:08 By : สุพิญญา สังข์ทอง
 


 

No. 16

Guest


#include <iostream> 
 
using namespace std; 
 
int main () 
{ 
    int movie1; 
    int movie2; 
    int movie3; 
    int seats; 
    int price; 
    int select; 
    char response; 
 
    cout<<"______Wellcome to Strawberry Gold Cinema____\n" 
        <<"Now you are booking a ticket cinema and please choose your movie... "; 
        cout << "\nPress 1 for= Harry Potter \n" 
            << "Press 2 for = Iron Man\n" 
            <<"Press 3 for = Romeo and Juliet\n"; 
        cout<<"Enter your choice > "; 
        cin>>select; 
 
 
 if (select ==1 ) 
 
 { 
 
 
     cout<<"The price of the ticket per seat is RM10.00\n" 
        <<"Please enter the number of seat "; 
        cin>>seats; 
 
 
        if (seats<=30) 
 
        { 
            price = 10 * seats; 
 
            cout<<"The total price is RM"<<price<<endl; 
        } 
 
        else if (seats>=30) 
 
        { 
            cout<<"The movie is full.\n" 
            <<"Would like to choose another movie??\n" 
            <<"Section Y or N \n"; 
            cout<<"Enter your choice = "; 
            cin>>response; 
        } 
 
 
 
        if ( toupper( response ) == 'Y' ) 
        { 
        cout <<"Please choose movie 2 or movie 3\n" 
        <<"Enter your choice "; 
        cin>>select; 
 
 
 
 
        if (select == 2) 
        { 
         cout<<"The price of the ticket per seat is RM11.00\n" 
           <<"Please enter the number of seat"; 
        cin>>seats; 
 
 
        if (seats<=30) 
 
        { 
            price = 11 * seats; 
 
            cout<<"The total price is RM"<<price<<endl; 
        } 
 
        } 
        else if (seats>=30) 
 
        { 
            cout<<"The movie is full.\n" 
            <<"Would like to choose another movie??\n" 
            <<"Section Y or N \n"; 
            cout<<"Enter your choice = "; 
            cin>>response; 
 
        } 
            if ( toupper( response ) == 'Y' ) 
 
 
            { 
             cout<<"The price of the ticket per seat is RM13.00\n" 
             <<"Please enter the number of seat"; 
            cin>>seats; 
 
 
        if (seats<=30) 
 
        { 
            price = 13 * seats; 
 
            cout<<"The total price is RM"<<price<<endl; 
        } 
 
        else if (seats>=30) 
 
        { 
            cout<<"The movie is full.\n" 
            <<"Next movie in 5 hours...."<<endl; 
        } 
 
else 
        cout << "Next movie in 5 hours.\n"; 
        } 
        } 
        } 
 
//for 2 
 
 if (select ==2 ) 
 
 { 
 
 
     cout<<"The price of the ticket per seat is RM11.00\n" 
        <<"Please enter the number of seat"; 
        cin>>seats; 
 
 
        if (seats<=30) 
 
        { 
            price = 11 * seats; 
 
            cout<<"The total price is RM"<<price<<endl; 
        } 
 
        else if (seats>=30) 
 
        { 
            cout<<"The movie is full.\n" 
            <<"Would like to choose another movie??\n" 
            <<"Section Y or N \n"; 
            cout<<"Enter your choice = "; 
            cin>>response; 
        } 
 
 
 
        if ( toupper( response ) == 'Y' ) 
        { 
        cout <<"Please choose movie 1 or movie 3\n" 
        <<"Enter your choice "; 
        cin>>select; 
 
 
 
 
        if (select == 2) 
        { 
         cout<<"The price of the ticket per seat is RM10.00" 
           <<"Please enter the number of seat"; 
        cin>>seats; 
 
 
        if (seats<=30) 
 
        { 
            price = 10 * seats; 
 
            cout<<"The total price is RM"<<price<<endl; 
        } 
 
        } 
        else if (seats>=30) 
 
        { 
            cout<<"The movie is full.\n" 
            <<"Would like to choose another movie??\n" 
            <<"Section Y or N \n"; 
            cout<<"Enter your choice = "; 
            cin>>response; 
 
        } 
            if ( toupper( response ) == 'Y' ) 
 
 
            { 
             cout<<"The price of the ticket per seat is RM13.00\n" 
             <<"Please enter the number of seat"; 
            cin>>seats; 
 
 
        if (seats<=30) 
 
        { 
            price = 13 * seats; 
 
            cout<<"The total price is RM"<<price<<endl; 
        } 
 
        else if (seats>=30) 
 
        { 
            cout<<"The movie is full.\n" 
            <<"Next movie in 5 hours...."<<endl; 
        } 
else 
        cout << "Next movie in 5 hours.\n"; 
 
        } 
        } 
        } 
        }

Date : 2011-09-28 07:29:09 By : นกแสก
 


 

No. 17

Guest


โค้ดจองตั๋วหนัง ภาษาซี

#include <stdio.h>
#include <string.h>
#include <conio.h>


main()
{

   char s,ro;
   int re;
   char a,b,c,d,e;

   printf("---------------M A J O R    C I N E P L E X------------------\n\n");
   printf("MENU\n");
   printf("1. Select Seats\n");
   printf("2. Exit\n");
   printf("\n\nPlease Select Menu : ");
   scanf("%s",&s);

   switch(s)
     {
     case '1' :
      clrscr();
       printf("---------------M A J O R    C I N E P L E X------------------\n\n");
      printf("#############################################################\n\n");
      printf("=====================S==C==R==E==E==N========================\n\n");
      printf("#############################################################\n\n");
     
      for(a=1;a<11;a++)
        {
         printf(" [A%d] ",a);
        }
        printf("\n");
      for(b=1;b<11;b++)
        {
         printf(" [B%d] ",b);
        }
        printf("\n");
      for(c=1;c<11;c++)
        {
         printf(" [C%d] ",c);
        }
        printf("\n");
      for(d=1;d<11;d++)
        {
         printf(" [D%d] ",d);
        }
        printf("\n");
      for(e=1;e<11;e++)
        {
         printf(" [E%d] ",e);
        }
        printf("\n\n");
      printf("#############################################################\n\n");




      printf("Select Seats\n");

      printf("select Row : ");
      scanf("%s",&ro);

      printf("Respectively : ");
      scanf("%d",&re);

      clrscr();

         printf("---------------M A J O R    C I N E P L E X------------------\n\n");
         printf("#############################################################\n\n");
         printf("=====================S==C==R==E==E==N========================\n\n");
         printf("#############################################################\n\n");
     
         if(ro=='a')
         {
            for(a=1;a<11;a++)
         {
            if(a==re)
            {
               printf(" [XX] ");
            }
            else printf(" [A%d] ",a);
         }
         printf("\n");

      for(b=1;b<11;b++)
        {
         printf(" [B%d] ",b);
        }
        printf("\n");
      for(c=1;c<11;c++)
        {
         printf(" [C%d] ",c);
        }
        printf("\n");
      for(d=1;d<11;d++)
        {
         printf(" [D%d] ",d);
        }
        printf("\n");
      for(e=1;e<11;e++)
        {
         printf(" [E%d] ",e);
        }
        printf("\n\n");
      printf("#############################################################\n\n");
      }

      if(ro=='b')
      {
         for(a=1;a<11;a++)
        {
         printf(" [A%d] ",a);
        }
        printf("\n");
         for(b=1;b<11;b++)
        {
         if(b==re)
           {
            printf(" [XX] ");
           }
         else printf(" [B%d] ",b);
        }
        printf("\n");


      for(c=1;c<11;c++)
        {
         printf(" [C%d] ",c);
        }
        printf("\n");
      for(d=1;d<11;d++)
        {
         printf(" [D%d] ",d);
        }
        printf("\n");
      for(e=1;e<11;e++)
        {
         printf(" [E%d] ",e);
        }
        printf("\n\n");
      printf("#############################################################\n\n");
      }

      if(ro=='c')
      {
         for(a=1;a<11;a++)
        {
         printf(" [A%d] ",a);
        }
        printf("\n");
      for(b=1;b<11;b++)
        {
         printf(" [B%d] ",b);
        }
        printf("\n");
         for(c=1;c<11;c++)
        {
         if(c==re)
           {
            printf(" [XX] ");
           }
         else printf(" [C%d] ",c);
        }
        printf("\n");


      for(d=1;d<11;d++)
        {
         printf(" [D%d] ",d);
        }
        printf("\n");
      for(e=1;e<11;e++)
        {
         printf(" [E%d] ",e);
        }
        printf("\n\n");
      printf("#############################################################\n\n");
      }

      if(ro=='d')
      {
         for(a=1;a<11;a++)
        {
         printf(" [A%d] ",a);
        }
        printf("\n");
      for(b=1;b<11;b++)
        {
         printf(" [B%d] ",b);
        }
        printf("\n");
      for(c=1;c<11;c++)
        {
         printf(" [C%d] ",c);
        }
        printf("\n");
         for(d=1;d<11;d++)
        {
         if(d==re)
           {
            printf(" [XX] ");
           }
         else printf(" [D%d] ",d);
        }
        printf("\n");


      for(e=1;e<11;e++)
        {
         printf(" [E%d] ",e);
        }
        printf("\n\n");
      printf("#############################################################\n\n");
      }

      if(ro=='e')
      {
         for(a=1;a<11;a++)
        {
         printf(" [A%d] ",a);
        }
        printf("\n");
      for(b=1;b<11;b++)
        {
         printf(" [B%d] ",b);
        }
        printf("\n");
      for(c=1;c<11;c++)
        {
         printf(" [C%d] ",c);
        }
        printf("\n");
      for(d=1;d<11;d++)
        {
         printf(" [D%d] ",d);
        }
        printf("\n");

         for(e=1;e<11;e++)
        {
         if(e==re)
           {
            printf(" [XX] ");
           }
         else printf(" [E%d] ",e);
        }
        printf("\n");
                printf("\n\n");
      printf("#############################################################\n\n");
      }

   

   if (ro!='a')
   {
      if (ro!='b')
   {
         if (ro!='c')
   {
            if (ro!='d')
   {
               if (ro!='e')
   {
      clrscr();
      printf("Sorry, You enter the wrong.\n");
   }
   }
   }
   }
   }

   printf("\nThank you for the service.\n");
     getch();
     break;
   

   case '2' :
      printf("\nThank you for the service.\n");
      getch();

     break;
        }
   return 0;
}


ผลการรันโปรแกรม
Date : 2012-08-29 12:38:13 By : นกแสก
 


 

No. 18

Guest


ที่มาของโค้ด : http://www.thaiseoboard.com/index.php?topic=102227.0
Date : 2012-08-29 12:40:39 By : นกแสก
 


 

No. 19

Guest


#include<stdio.h>
#include<conio.h>
int main(){
  int r,i,j,k;
  printf("Enter the number range: ");
  scanf("%d",&r);
  for(i=1;i<=r;i++){
      for(j=1;j<=12;j++)
           printf("\n\n%d*%d=%d ",i,j,i*j);
      printf("\n");
  }
  getch();
}




ที่มา : http://www.cquestions.com/2008/01/write-cprogram-to-find-multiplication.html
Date : 2013-11-13 08:11:47 By : นกแสก
 


 

No. 20



โพสกระทู้ ( 13 )
บทความ ( 0 )



สถานะออฟไลน์
Facebook Hi5

โค้ดสูตรคูณ ภาษาจาวา

package multiplication;

import java.util.Scanner;

/**
*
* @author นกแสก
*/
public class Multiplication {
private static Scanner sc;

/**
* @param args the command line arguments
*/
public static void main(String[] args) {

int r,i,j;

sc = new Scanner(System.in);
System.out.println("Enter the number range: ");
r = sc.nextInt();
for(i=1;i<=r;i++){
for(j=1;j<=12;j++)
System.out.println(i + " x " + j + " = " + i * j);
System.out.println("\n");
}
}
}




ประวัติการแก้ไข
2013-11-13 08:47:29
2013-11-13 08:54:47
2013-11-13 09:18:04
Date : 2013-11-13 08:44:53 By : นกแสก
 


 

No. 21



โพสกระทู้ ( 13 )
บทความ ( 0 )



สถานะออฟไลน์
Facebook Hi5

C code for ATM TRANSACTIONS........

ที่มาของโค้ด : http://neel-techochoco.blogspot.com/2012/01/author-neelkant.html


/*Author-Neelkant.S.patil,GMIT,Davangere*/


/*Note Pin code is 7890*/


#include<stdio.h>

#include<conio.h>

unsigned long amount=50000,deposit,withdraw;

int choice,pin,k;

char another='y';

int main()

{

while(pin!=7890)

{

printf("ENTER PIN:");

scanf("%d",&pin);

if(pin!=7890)

printf("PLEASE ENTER VALID PASSWORD\n");

}

do

{

printf("********Welcome to ATM Service**************\n");

printf("1. Check Balance\n");

printf("2. Withdraw Cash\n");

printf("3. Deposit Cash\n");

printf("4. Quit\n");

printf("******************?**************************?*\n\n");

printf("Enter your choice: ");

scanf("%d",&choice);

switch(choice)

{

case 1:

printf("\nYOUR BALANCE IN Rs : %lu ",amount);

break;

case 2:

printf("\nENTER THE AMOUNT TO WITHDRAW: ");

scanf("%lu",&withdraw);

if(withdraw%100!=0)

{

printf("\nPLEASE ENTER THE AMOUNT IN MULTIPLES OF 100");

}

else if(withdraw>(amount-500))

{

printf("\nINSUFFICENT BALANCE");

}

else

{

amount=amount-withdraw;

printf("\n\nPLEASE COLLECT UR CASH");

printf("\nYOUR CURRENT BALANCE IS%lu",amount);

}

break;

case 3:

printf("\nENTER THE AMOUNT TO DEPOSIT");

scanf("%lu",&deposit);

amount=amount+deposit;

printf("YOUR BALANCE IS %lu",amount);

break;

case 4:

printf("\nTHANK U USING ATM");

break;

default:

printf("\nINVALID CHOICE");

}

printf("\n\n\nDO U WISH TO HAVE ANOTHER TRANSCATION?(y/n): ");

fflush(stdin);

scanf("%c",&another);

if(another=='n'||another=='N')

k=1;

}while(!k);

printf("\n\nTHANX FOR USING NEELKANT`s BANK");

getch();

}


Date : 2014-03-25 08:41:27 By : noksaak
 


 

No. 22



โพสกระทู้ ( 13 )
บทความ ( 0 )



สถานะออฟไลน์
Facebook Hi5

โปรแกรมเครื่อง ATM

C PROGRAMM IN USE ATM MACHINE

ที่มา : http://c-programmsfree.blogspot.com/201 ... chine.html

ที่มา : http://www.icphysics.com/forums/viewtopic.php?f=16&t=17575

#include<stdio.h>
#include<conio.h>

int main()
{ unsigned long amount=1000,deposit,withdraw;
int choice,pin=0,k=0;
char another='y';

while(pin!=0000)
{

printf("Enter your four digit pin:");
scanf("%d",&pin);
}

do
{

printf("\n********Welcome to ATM Service**************\n");
printf("1. Check Balance\n");
printf("2. Withdraw Cash\n");
printf("3. Deposit Cash\n");
printf("4. Quit\n");
printf("******************?**************************?*\n\n");
printf("Enter your choice: ");
scanf("%d",&choice);
switch(choice)
{
case 1:
printf("\nYour Balance is Rs : %lu ",amount);
break;
case 2:
printf("\nEnter the amount to withdraw: ");
scanf("%lu",&withdraw);
if(withdraw%100!=0)
{
printf("\nPlease enter");

printf("amount in multiples of 100");
}else if(withdraw>(amount-500))
{

printf("\nInsufficient Funds");
}else
{

amount=amount-withdraw;

printf("\n\nPlease collect cash");

printf("\nYour balance is %lu",amount);
}
break;
case 3:
printf("\nEnter amount to deposit:-");
scanf("%lu",&deposit);
amount=amount+deposit;
printf("Your balance is:- %lu",amount);
break;
case 4:
printf("\nThank you for using ATM");
break;
default:
printf("\nInvalid Choice");
}
printf("\n\n\nDo you want another transaction?(y/n): ");
fflush(stdin);
scanf("%c",&another);
if(another=='n'||another=='N')
k=1;
}while(!k);
printf("\n\nHave a nice day");
getch();

}
Date : 2014-03-25 08:54:15 By : noksaak
 

   

ค้นหาข้อมูล


   
 

แสดงความคิดเห็น
Re : อยากได้โค้ด การจองตั๋วหนัง อยากได้โค้ด การจองตั๋วหนัง ที่มีการคลิ้กเลือกที่นั่งจาก checkbox ได้ แล้วไปเก็บลงฐานข้อมูล
 
 
รายละเอียด
 
ตัวหนา ตัวเอียง ตัวขีดเส้นใต้ ตัวมีขีดกลาง| ตัวเรืองแสง ตัวมีเงา ตัวอักษรวิ่ง| จัดย่อหน้าอิสระ จัดย่อหน้าชิดซ้าย จัดย่อหน้ากึ่งกลาง จัดย่อหน้าชิดขวา| เส้นขวาง| ขนาดตัวอักษร แบบตัวอักษร
ใส่แฟลช ใส่รูป ใส่ไฮเปอร์ลิ้งค์ ใส่อีเมล์ ใส่ลิ้งค์ FTP| ใส่แถวของตาราง ใส่คอลัมน์ตาราง| ตัวยก ตัวห้อย ตัวพิมพ์ดีด| ใส่โค้ด ใส่การอ้างถึงคำพูด| ใส่ลีสต์
smiley for :lol: smiley for :ken: smiley for :D smiley for :) smiley for ;) smiley for :eek: smiley for :geek: smiley for :roll: smiley for :erm: smiley for :cool: smiley for :blank: smiley for :idea: smiley for :ehh: smiley for :aargh: smiley for :evil:
Insert PHP Code
Insert ASP Code
Insert VB.NET Code Insert C#.NET Code Insert JavaScript Code Insert C#.NET Code
Insert Java Code
Insert Android Code
Insert Objective-C Code
Insert XML Code
Insert SQL Code
Insert Code
เพื่อความเรียบร้อยของข้อความ ควรจัดรูปแบบให้พอดีกับขนาดของหน้าจอ เพื่อง่ายต่อการอ่านและสบายตา และตรวจสอบภาษาไทยให้ถูกต้อง

อัพโหลดแทรกรูปภาพ

Notice

เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ
อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง

   
  เพื่อความปลอดภัยและการตรวจสอบ กระทู้ที่แทรกไฟล์อัพโหลดไฟล์จากที่อื่น อาจจะถูกลบทิ้ง
 
โดย
อีเมล์
บวกค่าให้ถูก
<= ตัวเลขฮินดูอารบิก เช่น 123 (หรือล็อกอินเข้าระบบสมาชิกเพื่อไม่ต้องกรอก)







Exchange: นำเข้าสินค้าจากจีน, Taobao, เฟอร์นิเจอร์, ของพรีเมี่ยม, ร่ม, ปากกา, power bank, แฟลชไดร์ฟ, กระบอกน้ำ

Load balance : Server 03
ThaiCreate.Com Logo
© www.ThaiCreate.Com. 2003-2024 All Rights Reserved.
ไทยครีเอทบริการ จัดทำดูแลแก้ไข Web Application ทุกรูปแบบ (PHP, .Net Application, VB.Net, C#)
[Conditions Privacy Statement] ติดต่อโฆษณา 081-987-6107 อัตราราคา คลิกที่นี่