开发者

How to Bind Images in Gridview all cells dynamically & get values from cell

开发者 https://www.devze.com 2023-04-04 13:09 出处:网络
I am developing movie theater seat booking website like http://in.bookmyshow.com/, for that i have place image as Seats in asp:gridview(all cells), for selecti开发者_如何学Goon of seat click on Image(

I am developing movie theater seat booking website like http://in.bookmyshow.com/, for that i have place image as Seats in asp:gridview(all cells), for selecti开发者_如何学Goon of seat click on Image(cell) at that time i need that cell value(Seat No) where i clicked Image(cell) in gridview. This binding based on Database In Database Cell value=0 Then in gridviewCell no image In Database Cell value=1 Then in gridviewCell image indicate available Seat In Database Cell value=2 Then in gridviewCell image indicate Selected Seat In Database Cell value=3 Then in gridviewCell 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号