How to get the column count and column name from the

resultset in the database connection program?

Answer Posted / akshara

in the vb script we use genralluy to count the rows as
rowcount=datatabble.GetSheet("Sheet name").GetRowCount
MsgBox(rowcount)
i fyou need sheet count
datatable.getcheetcount
Thank you

Is This Answer Correct ?    0 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are main panes available in qtp test browser?

528


How will you test a keyboard?

591


What are the differences between qtp and winrunner?

517


I want to do QTP Certification what is the pattern of Question paper.

1734


How would you directly trigger javascript in a test?

1464






you are recording on "WINDOW 1", say it has a link if you click on that, that leads you to "WINDOW 2". If you do any manipulations on "WINDOW 2" that are automatically updated in to "WINDOW 1". But "WINDOW 1" is currently invisible. But the updations in "WINDOW 1" must also be recorded as a script in QTP. The best Example is if you update your resume in JOB STREET portal it actually happens in other window, but the previous window is automatically updated. Now does QTP help you in this types of situations? Any body can answer this question. please..... Siva

1488


wht type of User defined functions or Java Releated functions do we write in VB scripting

1815


How many types of parameters are there?

537


Can any one brief some detail on how the shared and action object repository utilized/implemented in a real time project. I already know how to make shared object repositor by saving OR as .tsr extension..I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thanks

1888


What are the steps involved in recovery scenario wizard?

515


What is quicktest professional (qtp window?

582


How many types of recording modes in the qtp?

582


What Folder Structure following in Keyword Driven Frame work?

2270


regular expression in qtp standar check point for months from accepting months from january to december only

1467


how can we do the frame work in qtp

1593