This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
what do u mean the coloumn index? u mean u supply the name and u get the index number?? it usually works the other way around. u have all the coloumns and u want to know their names.
Joined: Jan 29, 2001
In my code, I need to call metadata.getColumnDisplaySize(i); This method takes column index, at this point I know column name not the index. So can I pass columnname and get column index from metadata ?
"SeemaH", The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please re-register and select a new name which meets the requirements. Thanks. Dave