ObjectList : Bindig each cell of the first row to a new DataSet ??

D

denix

Hi,

I'd like to buil a Wap site that displays an inventory
I'm using an ObjectList that binds to a dataset filled from a SQL
stored procedure call.
Currently, the first row of my datalist contains product codes, that
link to a page containing all the other rows. In fact, i'd like these
links to bring to the first row of another datalist (pallets numbers)


ProductCode TotalWeightKg
0001 1200
|
| link
+-----> PalletsNb PalletsWeight
1111 500
1112 700
|
| link
+-----> 1112
Date
Quantity
...


Cans someone help me ?
Thanks


Denis
 
7

7n

It ought to be possible using custom templates... Haven't looked in to it so
deep though. ;)

Using a template like
<TD colspan="2">
<a href='<%# (((ObjectListItem)Container)["NameURL"]) %>'>
<%# (((ObjectListItem)Container)["Name"]) %>
</a>
</TD>

you can access the dataset under the ObjectList.
 

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

Members online

Forum statistics

Threads
473,755
Messages
2,569,539
Members
45,024
Latest member
ARDU_PROgrammER

Latest Threads

Top