There are many properties don't exist in App_Code pages.
Session in App_Code
when we use Session in App_Code following by error message
The name 'Session' doesn't exist in the current context
To fix this problem write next line in C#.net 2005
System.Web.HttpContext.Current.Session["SessionName"] = value;
Response in App_Code
when we use Response.Redirect in App_Code following by error message
The name 'Response' doesn't exist in the current context
To fix this problem write next line in C#.net 2005
System.Web.HttpContext.Current.Response.Redirect("Page.aspx");
17 Jun 2009
Problems in App_Code
Posted by
Hayfa
11 Jun 2009
How can take backup from table...
Posted by
Hayfa
How can take backup from table to another table in the same database?
We can use SELECT INTO to take backup.
We can select:
1.One column or more
select column1
into NewTable
from OldTable
2.All columns
select *
into NewTable
from OldTable
Also we can use where
select *
into NewTable
from OldTable
where column1='Haia'
10 Jun 2009
.net code converter (C# - VB.NET)
Posted by
Hayfa
I found site that it easy way to convert code, just paste code then it will automatically convert:
1.Convert C# to VB.NET
csharp-to-vb
2.Convert VB.NET to C#
vb-to-csharp
4 Jun 2009
Computer until sleep
Posted by
Hayfa
Subscribe to:
Posts (Atom)