views:

19

answers:

0

hello friends,

i hav a text file in which it is written as :res.txt

red:redtu_hotel\address

red:redu_hospital\add_hosp

blue:bluert_hotel\address1

blue:blue1tr_hotel\address2

blue:blueer_hospital\add_newhosp


there are 2 forms and on the first form,its a text box,a choiceGroup and another choiceGroup1,choicebox2 and again textbox2 1)text box:-ill write "re",next choiceBox will append the txt as "red"

2)choiceGroup1 will contan the appended text as both hotels and hospitals, again choiceBox will put the respective hotels or hospitals according to either red or blue

3)textbox 2 will show the hotel names or hospital names accordiing to choiceBox2

4)will show the addresses in the next form.

thank u. ill really appreciate.