Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Mobile > ObjectList : Bindig each cell of the first row to a new DataSet ??

Reply
Thread Tools

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

 
 
denix
Guest
Posts: n/a
 
      07-20-2005
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

 
Reply With Quote
 
 
 
 
7n
Guest
Posts: n/a
 
      08-24-2005
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.



"denix" wrote:

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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to add a cell to the end of the first row of the first table on a page? sherifffruitfly Javascript 0 04-25-2007 04:04 AM
May I edit a cell in ObjectList control? Taoge ASP .Net Mobile 0 07-27-2006 05:53 AM
how do i? Full scan of each control in each grid row cell John Blair ASP .Net 1 08-03-2005 11:02 AM
ok I can do a totals row but how about a percentage row after each data row D ASP .Net Datagrid Control 0 05-23-2005 04:10 PM
Replace characters in a Field when bindig data Satish Appasani ASP .Net 1 07-17-2003 12:21 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57