| Author |
How to get the file name and its data type?
|
Zhixiong Pan
Ranch Hand
Joined: Jan 25, 2006
Posts: 239
|
|
Hi ranchers, I am planning to write a method which a parameter of tableName(String type) will be passed in and will return a vector. That vector's element is a record which is a String array. To realize that function, I need: 1.to get the table's fileds count which is the length to initial array; 2. the first, second ... the n th filed name; 3. the type of the first, seconde...the n the filed. Could you help me please?
|
SCJP 1.4 SCJD
|
 |
Vallidevi Appana
Greenhorn
Joined: Jun 30, 2006
Posts: 25
|
|
You can use the following code to get number of fields, each field name and each field type in the table.
|
 |
 |
|
|
subject: How to get the file name and its data type?
|
|
|