i am working on online railway reservation project in vb.net. i want to know after entering reservation details by user in a table where user can made only 6 person's reservation e.g train_no,source,destination,name,class,berth,age, senior citizen then how to calculate ticket price when button is clicked.please send me this code
urgently.

what is the pricing structure?

Are they radio buttons that you choose? You can always use If statement.
"IF radSenior checked
then rate*.10
IF radChild checked
then rate*.30" or whatever your discounts are. Not sure if this helps at all...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.