How to get the column count and column name from the
resultset in the database connection program?
Answer Posted / nageshbijoor@gmail.com
you can get column count using following code
totalrec = 0
DataTable datatable
datatable = ds.Tables["tablename"]
totalrec = datatable.Rows.Count
Label1.Text = datatable.Rows[currrec]["columnname"].ToString
()
| Is This Answer Correct ? | 3 Yes | 4 No |
Post New Answer View All Answers
iam working in QTP for 2+ of exp if i attend the interview what r questions asked in perfomence testing{loadrunner} ? pls any one can say answer to this question?
hi can any body give me a script for creating a modularity or keyword driven framework..i am working as a qtp tester for 2 months but still i am not exposed to framework in my company
Is virtual object supported in low level recording mode?
how to i add the values using the check points property?( i.e valid data(for valid data it's giving the footer message:value is added) and for invalid data: special chars, spaces,Duplicates and null values (in my page when ever we enter special chars, spaces and null values, it's giving the proper warning message and for Duplicates it's giving the footer message:"value already exists)?
What are the types of data tables in qtp?
Explain the Different types of QTP test assets and their extensions?
If the weblist is identified as webelement,and by clicking on webelement if the values are displayed,and if the values the values also identified as webelement.then how to fetch the values through script?
What are the methods used in UFT to handle exceptions or run-time errors?
When to use shared and local object repository?
What are the steps involved in recovery scenario wizard?
I am a newbie to QTP / Automation testing. I want to develop a script that creates a data file automatically with proper headings using VBScript in QTP.
Describe function procedure in vbscript.
How to analyzing test results using quicktest professional (qtp)?
in my application,validation message has in japanise language.how to validate this message is appears properly or not
Explain qtp(quick test professional)?