Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


how to get column count in datatable

Answers were Sorted based on User's Feedback



how to get column count in datatable..

Answer / raju

colcount = datatable.GetSheet(Sheet name).GetParametercount

using above GetParameterCount u can get how many columns in
Datatable.

Is This Answer Correct ?    20 Yes 8 No

how to get column count in datatable..

Answer / d.t

need urgentlyy

Is This Answer Correct ?    4 Yes 3 No

how to get column count in datatable..

Answer / vishakha

ColCount = DataTable.GetSheet(dtGlobalSheet).GetParametercount
msgbox colcount

OR

ColCount = DataTable.GetSheet(1).GetParametercount
msgbox colcount

Is This Answer Correct ?    3 Yes 5 No

Post New Answer

More QTP Interview Questions

In Test Director , You can store Test cases or vb Script . Why we need VSS?

2 Answers  


Give me some scripts for 1). checking webpage links (counting links,opening web pages,counting child elements)

2 Answers   CIL,


If you use low level recording,what objects will be recorded in Object Repository and what properties?

3 Answers   CTS,


In qtp, explain what is keyword driven automation framework?

0 Answers  


How to run scripts 1,29,3,5,7,2 scripts using test batch runner in QTP.... Ie...I wanted to run scripts not in an order 1,2,3,4,5...like that How it is possible using test batch runner... I dont want hardcoded script

0 Answers   IBM,


Hi All, I have a problem with getting the value which is available in the table and it is not having any unique property. Please find the below table TopicName CreatedBy ViewCount ------------------------------------------------ XXXX Y 10 ZZZZ ZZ 0 AAAA BBB 3 In the Above table TopicNames are link and it is having an id but the remainig two columns(Created by and ViewCount) are static Web element values and they are not having any unique property. Now i want to get the values of Created BY and View count for each and every topic. Can anybody give me the solution for the above ASAP. If anybody didn't understand the above please free to send me a mail by that i can send you the snap shots and some more description. You can catch me at krishnachand.p@gmail.com

0 Answers  


What is the parameterization? Give one example?

0 Answers  


How can we use the "CreateObject("Wscript.Shell")" in QTP and what is the definition and purpose of it?

2 Answers  


How to export data present in Datatable to an ".xls" file?

1 Answers   Crea,


I have recorded a test over web application(with IE6.0) in analog mode. But, while running it my test gets failed. Why? (Note: my systray has 3 open web applications)

7 Answers   Xansa,


How to create a standard checkpoint ?

0 Answers  


What is quicktest professional (qtp)?

0 Answers  


Categories