Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Running Event Code from somewhere else
Message
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01518388
Message ID:
01518500
Vues:
55
Hi Peter . Thanks for your reply.
The event I am looking at has come from a third party, so I dont have direct access to the code as it is somewhere up the hierarchy of classes but I want to 'simulate' what happens when the RowEnter say is triggered .

Regards,
Gerard



>>Is it possible to run event code from elsewhere in .net(C#)
>>
>>Say I have a Datagridview with code in the RowEnter event , and I want to run the code thats in the RowEnter event from another place on the form say a button on the form . How would I do this ?
>>
>>Tia
>>Gerard
>
>Put the event code in a separate method and you can call it from where you like
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform