Jump to content
Llaverola

Como realizar um SORT?

Recommended Posts

Llaverola

Ola pessoal, sei que a minha duvida é simples mas aki vai:

<td><b>OrderCode</b></td>

Essa linha de codigo corresponde obviamente a uma celula de uma tabela, mais propriamente o titulo duma coluna.

Ora, o que eu quero é fazer com que essa celula seja um link, que clicando nele faz um sort a todos os dados que estão abaixo dessa coluna.

Obrigado

Share this post


Link to post
Share on other sites
Hellblazer

Ora bem essa tabela deve estar a ser preenchida apartir do codebehind :) logo basta acrescentares-lhe um <a href="xxxxxx"><b>xxxxx&sort=blablabla</b></a>

e depois apartir do codebehind preenches a tabela a tua maneira :D

Cumps


There are two ways to write error-free programs; only the third one works.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.