Bonjour,
Je voudrais Pouvoir vider tous les textbox d'une page Web.
Dans le code behind j'ai fais ceci:
Merci.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 For Each ct As Control In Me.Controls If TypeOf (ct) Is TextBox Then 'Je m'attendai a pouvoir faire Ct.text=""...mais non. End If Next
Partager