Microsoft
Software
Hardware
Network
Question : C# raw classes
I am trying to arrange my codes in classes in C# but I am having some issues in accomplishing this.
I created a new class where i want to have all my methods. Is it possible for me access variables that i defined in my webforms from this new class?
for example i have an asp hyperlink1 variable that i want to access in the my new C# class. Also how can i use sessions in that class.
Everything works fine in my name.aspx.cs i.e. code behind but now i want to transfer all methods to my new class that i created.
Answer : C# raw classes
for seesion you can use
System.Web.HttpContext.Cur
rent.Sessi
on["variab
leName"]="
test"
Random Solutions
user access list - who maintains them
Epson scan only runs in "install mode" on terminal server 2003
Convert web.config from .NET 3.5 to 4.0
problem exportting gridview to excel spreadsheet
I need to read a text file and map it to an Access Table
CentOS 5.3: install: booting off USB: misunderstanding....is there a way I can INSTALL linux from an USB drive?
JavaScript Error in IE7 menu hover background does not work
Office Communicator 2005 Web Access wont load
Clearing a submit form once submitted
Can you setup Remote Desktop Gateway and Remote Desktop Services on the same Server