[VB.NET]

[VB.NET] - C#/.NET managed - Programmation

Marsh Posté le 13-07-2004 à 10:52:46    

Je voudrais savoir si il est possible d'insérer dans un datagrid une icone, ou une image.
Ex : je récupère dans une table plusieurs champ dont un qui est la priorité. Ensuite j'aimerai que dans mon datagrid j'affiche un point d'exclamation pour "urgent" et un point d'interrogation pour "info".
 
Merci

Reply

Marsh Posté le 13-07-2004 à 10:52:46   

Reply

Marsh Posté le 13-07-2004 à 10:54:50    

oui c'est possible. dans le code asp/html, tu appelle une fonction du codebehind avec un param flag.  
 
cette fonction retournera le code html correspondant


---------------
What if I were smiling and running into your arms? Would you see then what I see now?  
Reply

Marsh Posté le 13-07-2004 à 10:58:57    

J'ai oublié de préciser que c'est du winform.
C'est toujours possible ?

Reply

Marsh Posté le 13-07-2004 à 11:00:46    

certainement


---------------
What if I were smiling and running into your arms? Would you see then what I see now?  
Reply

Marsh Posté le 13-07-2004 à 11:10:23    

lol, ok, mais comment on fait alors ??
en type de colonne je ne vois que textbox et checkbox.

Reply

Marsh Posté le 13-07-2004 à 11:18:05    

essaie un DataList peut-être


---------------
What if I were smiling and running into your arms? Would you see then what I see now?  
Reply

Marsh Posté le 14-07-2004 à 18:23:25    

ça n'existe pas les datalists en winform pour le cas de Stephane... ( enfin je crois)

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed