wood burning stoves 2.0*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes How to fetch available seats from DataIInfo at client end ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "How to fetch available seats from DataIInfo at client end ?" Watch "How to fetch available seats from DataIInfo at client end ?" New topic
Author

How to fetch available seats from DataIInfo at client end ?

Kumar Amit
Ranch Hand

Joined: Aug 13, 2001
Posts: 103
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[8] 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

SCJP, SCJD, SCEA
Marre Mask
Greenhorn

Joined: May 04, 2001
Posts: 19
Implement a getValue(String value) function. I will work fine and the code will be clearer.
Kumar Amit
Ranch Hand

Joined: Aug 13, 2001
Posts: 103
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
Kumar Amit
Ranch Hand

Joined: Aug 13, 2001
Posts: 103
Any body pls help me in this problem
Regards
Amit
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to fetch available seats from DataIInfo at client end ?
 
Similar Threads
Data consurrency/integrity issue
return DataInfo[]
Updating Available seats value in datainfo
Habibi book: How many instances of remote object and Data object exist ?
modify