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 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


Please Help Members By Posting Answers For Below Questions

how can i pass a "automation script" as a parameter in a function give me need full suggestion thank inadvance

1963


can anyone tell me what to say in interview when interviewer asks about "tell me about your framework in your project"?

2111


Give the syntax to import/export xls into qtp.

1090


Hi can anybody send me the QTP material, To my email ID: nuve1284@gmail.com ?

2165


Can any body please tell me the steps of keyword driven frame work in qtp. My mail is saswat445@gmail.com please send some materials on keyword driven testing in qtp. thanks a lot...

2275


Hi friends did any budy attend accenture system test for qtp? if any budy pls drop questions.not only accenture any other mnc company which you attended system test(QTP)?it may helpful to others also

2372


How does qtp recognize objects in aut?

1087


what type of framework u r using in ur organization

2121


What is the difference between the design-time and run-time data tables?

1171


What is difference between shared and local object repository?

1192


How to use output values in qtp ?

1062


Is any limitation to xml checkpoints?

1076


give me the code to save all messages of inbox of gmail into a folder and notepad

2163


Explain the concept of how quicktest professional identifies object?

1053


Dear All, How to generate Pass or Fail Report in QTP without using Reporter.Report Event Method ? Thanks Balaji

2781