0
comment atteindre Gv.RowDataBound + = new GridViewRowEventHandler (Gv_RowDataBound); en vb?comment réaliser Gv.RowDataBound + = new GridViewRowEventHandler (Gv_RowDataBound); en vb?
comment atteindre Gv.RowDataBound + = new GridViewRowEventHandler (Gv_RowDataBound); en vb?comment réaliser Gv.RowDataBound + = new GridViewRowEventHandler (Gv_RowDataBound); en vb?
Pour lier un événement dans VB.NET, utilisez l'instruction AddHandler, comme ceci:
AddHandler Gv.RowDataBound, AddressOf Gv_RowDataBound
Pour délier, échanger pour le compte RemoveHandler similaire. Oh, en note, VB crée automatiquement un GridViewRowEventHandler
pour vous.
Espérons que ça aide, Tom :)