Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can I pass parameter from ItemUpdating into a static class?
Message
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
Can I pass parameter from ItemUpdating into a static class?
Versions des environnements
Environment:
C# 3.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01330379
Message ID:
01330379
Vues:
84
Hi everybody,

I want to move logic from the particular page Form_ItemUpdating method to a static method of the static public class, because I want two different pages to share the same logic. Can I just pass e to the other method?

Would e.Cancel still work?

UPDATE. Also I need to be able to pass either FormViewUpdateEventArgs or FormViewInsertEventArgs, what can I do?

Thanks again.
If it's not broken, fix it until it is.


My Blog
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform