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
ProLiant DL380 G5 RAID Drive replacement procedure
Import-Module ServerManager
SNMP polling
SSG VPN dailup setup (Shrew VPN Client) , hitting a brick wall.
PrivateDisk volume for Client Security Solution 8.21 on ThinkPad
Can I use the SendKeys command in Excel VBA to interact with other applications other that Microsoft Office?
Laptop for AutoCad
Error in installation of Oracle 11g R2 on RHEL 5.3
How do I check if a window is already open or give it focus using Flex/Flash
How to declare the document I'm working in