How to view the dataset content WIT

arnlee

New member
How to view the dataset content WIT

I do have the dataset object full with data 1. How do I know the length of the data (how many records) that stored in the dataset? 2. How do I move (forward / backward / end / beginning) within the dataset? I would like to view the data and to execute these commands without datagird or repeater or reader objects (Like the old days with "for" command that runs from beginning to end and at any time reads the row to html table..) Pls, HELP ASAP Thank you. ArnLee
 

itaym02

New member
הנמ

לכל אוסף יש תכונה המחזירה את מספר האברים באותו אוסף (Count או Length) תבדוק. בDS יש אוסף של טבלאות. בטבלה יש אוסף של שורות Rows. תרוץ על האוסף של השורות בfor - אך למה לך? אתה יכול לגשת לאיברים בכל שורה בקלות - תחפש בגוגל ADO.NET על אובייקט DataTable
 
למעלה