Add a DataView on the DataTable that filters the rows. You will have to have
some value that you can filter on in the DataTable to do this.
Example:
Imagine a DataTable like this.
DataID URL Section
1 default.aspx 1
2 2/default.aspx 2
You can then filter the view on Section to get links for the DataList. You
would bind the URL to the hyperlink in the list in this example.
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
************************************************** ********************
Think Outside the Box!
************************************************** ********************
"stefano mostarda" <st**************@fastwebnet.it> wrote in message
news:um**************@TK2MSFTNGP10.phx.gbl...
Hi there,
I have a problem.
I have a table in a cached dataset. Depending on the page I need to get a
specific set of rows from the table and bind them to a dropdownlist.
To get the rows from the table I use the Select method, but, how can I
bind the (DataRow[]) rows to the ddl?
Have I to do it manually?
Thanks in advance
Stefano Mostarda
Rome Italy