Hi everybody, I am facing a problem in fetching Available seats from DataInfo which i got by calling getRecord(reco) at client end. Should i hardcode objDataInfo to get AVailable Seats at client end or should i modify DataInfo class to provide a method such as : public String getValue(String colname) to get any value depending on header name. IS there any other way to do this ? Pls help me. My work is stucked becoz of this problem Regards Amit Kumar
Implement a getValue(String value) function. I will work fine and the code will be clearer.
Joined: Aug 13, 2001
Thanks Marre Mask for the reply. I still have a doubt regarding this. Pls tell me where should i place this getValue(colname) method. Inside DataInfo class or in FlightServices classs at client end where all the methoid being called by GUI is wriiten Pls help Amit Kumar