Information générale
Catégorie:
Code, syntaxe and commandes
Hi Kevin,
I was copying code from some other source (I've been doing that alot since I don't know what the heck I'm doing in .net yet) :-)
Anyway, that was it..I removed the static reference and it no longer does that behvior.
I was stealing code from a c# windows form and putting into a c# web service. I wonder why they have so much stuff decleared as static(functions and variables)? I would think in a webservice I may not want anything to be static...would that make sense?
Thanks for you help,
Paul
>I believe the reason is because you're declaring the variable as static. Unless there's a specific reason it needs to be static, remove that and give it a try.
>
>Let me know if that works...
>Kevin
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement