methods define

Dec 14 2005 2:49 PM
Hi Guys my object is .... i m very new in that n if i will do that then i will get job. so help me out. 1 - i want to create method like "Public stringcollection getalldatabases (), where stringcollection is user defined return type and getalldatabases (), is a method name here ((plz give me coding for that or example)). 2 - i want to create one arraylist that will contain column name and data tye of table. ((plz give me coding for that or example)). 3 - want to append all records which contailk column name and values into one text file((plz give me coding for that or example)). Thanx.