i am doing online railway reservation project in vb.net. i want to know when i click on one radiobutton of trainno and then after clicking on submit button it display corresponding routes from database. i am using oracle as backend.please tell me urgently.
ritika_khanna
0
Newbie Poster
Recommended Answers
Jump to Posthii,
u can use "select" query with "where" condition to get data from the database.the condition should be train no,if u have table in oracle contianing trainno and routes of that specified train no as columns .u can display this data in the form of a datagrid,there are many controls …
Jump to Postin your database you should have a primary key. this should be a unique number to identify each train you have on course. with this, you can use your sql SELECT statement to get the information you want
for example,
SELECT * from Trains WHERE TrainID = "354523"
All 5 Replies
greeny_1984
14
Posting Whiz
Netcode
33
Veteran Poster
dnanetwork
18
Practically a Master Poster
Banned
Netcode
33
Veteran Poster
kvprajapati
1,826
Posting Genius
Team Colleague
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.