Oct 02, 2013 02:49 PM|sid0972|LINK
i have one more question, and i will start from begining. I have following table structure
passengerId, seatNo, seatStatus,flightId
as of right now, i am displaying the seats( through a repeater) on a condition that they have to exist in the database. So in database, i insert 100 "available" values for seatStatus and i am good to go.
But, when flightId changes, the logic fails, and i have to enter 100 values in database again, or i can write 100 different div's. So can i make repeater work in such a way that it displays 100 seats without having to actually write 100 div's? And with different
seatId's? and how can i determine seat availablity when seatId is same but flightId is different?