DataSet & DataView

B

beachboy

Hello all,

I am using the DataSet & DataView to display the file name in specify
directory
e.g: 112005.html , 022006.html, 052005.html

i can create a datatable by fileinfo and insert all file name which is
divied into month and year columns
then i can put the sorted dataview into datalist to display..

my problem is how to display the top row after sorted and without bind to
datalist.
how to read the first row of sorted dataview?

Thanks in advanced.
 
I

Ignacio Machin \( .NET/ C# MVP \)

Hi,

You can access the first item of the DataView data by using DataView[0]

You can access the real Row by using DataView[0].Row

Is this what you want?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top