How to select more picturebox control together in sequence?
i develop movie ticket booking software,i used picturebox control for seats and textbox control for no.of ticket when user put value of no.of ticket (forexample,no.of ticket 4 so i select 4 seats in sequence not randomly)how to make function of that.

Iftikar HussainRank #423 · 5.9K reputationPosted Jul 26, 2013, 6:41 AM EDT
string seatNo = pictureBox.Name.Replace("picturebox_", string.Empty);
string seatNo = seatNo.Replace("a", string.Empty);
string seatNo = seatNo.Replace("k", string.Empty);
Regards,
Iftikar
Iftikar HussainRank #423 · 5.9K reputationPosted Jul 25, 2013, 8:18 AM EDT
Please find the attached code for basic functionality.
Regards,
Iftikar
Dipika Shah102 reputationPosted Jul 26, 2013, 6:35 AM EDT
but i have error Input string was not in a correct format..
i used picturebox control for seat and my seats rows a1,a2...a16 to
k1,k2....k16
my seat name is picturebox_a1 to picturebox_k16
can u give me solution of this?
Dipika Shah102 reputationPosted Jul 26, 2013, 8:51 AM EDT
Dipika Shah102 reputationPosted Jul 27, 2013, 7:15 PM EDT
Iftikar HussainRank #423 · 5.9K reputationPosted Jul 27, 2013, 9:53 PM EDT
private int _availableSeat;
_availableSeat=10 - _totalNoOfBookedSeat
Then whenever you book the seat (on the picture box click) decrease the number by 1
_availableSeat--;
Regards,
Iftikar