I want to have a listbox or a picture box that everyone using my program online can access... I want it to be viewable by all of the users...
Can anyone help me please?
Thanks,
Squirrelly1
Printable View
I want to have a listbox or a picture box that everyone using my program online can access... I want it to be viewable by all of the users...
Can anyone help me please?
Thanks,
Squirrelly1
I don't think I get it. How can some users not see the particular control? I'm writing an ASP.NET application right now, and all the users of it can see all of the controls.
How are you handling user accounts and how are you restricting the display of the controls?
What I mean is I want to make the SAME control usable by all instances of the program that are open at the same time.
squirrelly1
Oh I'm sorry, I understand what you're asking now.
You could store the contents of the control in an Application variable could you not? If it was a list box you could join them with some character as the delimiter and loop through them when the user views the page. The picture box I guess you could store the picture on the server somewhere and store the path in the Application variable.
Yeah, I thought about that, but I figured it would make the program really slow...
Thanks,
squirrelly1