1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
| Protected sub page_load(ByVal sender As Object, ByVal e As System.EventArgs)
SqlClients.selectcommand ="SELECT clients,comprepaid FROM dbo.IT_CommunautySynch "
GV.DataBind()
end sub
sub testDeConnexion(ByVal sender As Object, ByVal e As System.EventArgs)
'Ici j appele cette fonction grace à un bouton'
GV.visible=false 'Je cache la première GV'
SqlClients.selectcommand ="select * from dbo.IT_ALLCOMMUNAUTERS "
GV1.DataBind() ' J affiche la 2ème'
btn1.Visible=true
btn2.Visible=false
end sub |
Partager