Click here to Skip to main content
15,893,487 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi to all
I am developing movie theater seat booking website like http://in.bookmyshow.com, for that i have place image as Seats in DataList(all cells), for selection of seat click on Image(cell) at that time i need that cell value(Seat No) where i clicked Image(cell) in DataList.

This binding based on Database
In Database Cell value=0 Then in DataListCell no image
In Database Cell value=1 Then in DataListCell image indicate available Seat
In Database Cell value=2 Then in DataListCell image indicate Selected Seat
In Database Cell value=3 Then in DataListCell image indicate Booked Seat

This Database is every time changes by selecting deferent Theater.
So theater layout is not fix to some Rows & Columns,
so this all binding is done dynamically.

If possible send me Sample code.

Please help me.
Posted
Updated 9-Oct-11 19:36pm
v2
Comments
Al Moje 10-Oct-11 2:22am    
Are images stored in your Database table as varbinary type? or just save it as a file in certain sub directory in your application assembly.
Sunasara Imdadhusen 10-Oct-11 9:42am    
Wait i am writing code for you..... please try yourself

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900