views:

9

answers:

0

Hi,

I work on a asp.net 3.5 page with c# and use a Listview.

Please find ma code bellow.

Here my questions:

  • I have a foraign key from catID to my table Categories, how I can insert the Name (stored in the table categories) insted the catID in the List view?
  • The description is possible very very long, how can I make a substring on the description if its over 30 chars long and cut them off and enter the data?
  • How I can manually insert a button / hyperlink after the data with the mainID and a link to a new page (which should displayed is detailed) ?

http://pastebin.com/i37B6Rsh