Débutant : Inserer un <BR> dans un webform

Résolu
dgef Messages postés 1 Date d'inscription mardi 8 juillet 2003 Statut Membre Dernière intervention 1 avril 2006 - 1 avril 2006 à 22:50
nhervagault Messages postés 6063 Date d'inscription dimanche 13 avril 2003 Statut Membre Dernière intervention 15 juillet 2011 - 1 avril 2006 à 23:29
Boujour a tous,
j'aimerais savoir comment je peut inserer un retour de ligne (
) entre les 2 appels de la procedure CreeLienFichier
.



Private
Sub Page_Load(
ByVal sender
As System.Object,
ByVal e
As System.EventArgs)
Handles
MyBase.Load



Dim plh
As
New PlaceHolder()



Me.Controls.Add(plh)



Dim hp
As
New HyperLink()


hp = CreeLienFichier("http://yahoo.ca", "test Lien No 1")


plh.Controls.Add(hp)



'----- je veux inserer un
ICI


hp = CreeLienFichier("http://Google.ca", "test Lien No 1")


plh.Controls.Add(hp)



End
Sub



Public
Function CreeLienFichier(
ByVal Item
As
String,
ByVal Description
As
String)
As HyperLink



Dim hp
As
New HyperLink()


hp.NavigateUrl = Item


hp.Text = Description



Return hp



End
Function

1 réponse

nhervagault Messages postés 6063 Date d'inscription dimanche 13 avril 2003 Statut Membre Dernière intervention 15 juillet 2011 37
1 avril 2006 à 23:29
salut

regardes du coté des literals.
Je ne connais pas encore trop la techno, mais cela dois être la réponse.

http://www.aspfr.com/tutoriaux/ASP-NET-GENERAL-COMMENT-ECRIRE-AVEC-ASP-NET_30.aspx
3
Rejoignez-nous