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
Remote access VPN via Thompson TG585 v7
how to build a query to display -- to a logged in user -- a list of other users with UserRoleID = 5 -- who ALSO live in the same state as the logged in user?
Command:Click:Command is working fine for Button but its not working for Hyperlink
alliance-leister phishing bot
Regarding INOTES in Lotus 8.5
Changing Default Web Site Properties
Hyper V Server & Network Requirements
Binary data
User can't receive emails sent to her personal email, but emails to group get through...
Server Returns 404 Error when publishing through WebDAV