General information
Category:
Coding, syntax and commands
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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only