Click here to Skip to main content
15,887,267 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: SQL Quastion Pin
Vimalsoft(Pty) Ltd3-May-09 22:30
professionalVimalsoft(Pty) Ltd3-May-09 22:30 
GeneralRe: SQL Quastion Pin
Christian Graus3-May-09 22:44
protectorChristian Graus3-May-09 22:44 
AnswerRe: SQL Quastion Pin
Ramesh Swaminathan3-May-09 22:56
Ramesh Swaminathan3-May-09 22:56 
QuestionShow Popup message dynamically Pin
scothykonma3-May-09 20:54
scothykonma3-May-09 20:54 
AnswerRe: Show Popup message dynamically Pin
Christian Graus3-May-09 22:14
protectorChristian Graus3-May-09 22:14 
GeneralRe: Show Popup message dynamically Pin
scothykonma4-May-09 0:17
scothykonma4-May-09 0:17 
AnswerRe: Show Popup message dynamically Pin
saanj3-May-09 22:55
saanj3-May-09 22:55 
Question404 redirect for dynamically generated page(Data not found in database) Pin
anuj_24mar@yahoo.com3-May-09 20:17
anuj_24mar@yahoo.com3-May-09 20:17 
Hi All, On my page, if data is not found, i want to redirect my page to some customized page ( saying data not found) with a status code 404 so that google dont crawl it. I am using following code - Response.Clear(); Response.Status = "404 not found."; Response.StatusCode = 404; Response.AddHeader( "Location", "error.htm"); Response.RedirectLocation= "/error.htm"; It sets my page status to 404 but doesnt redirect to "error.htm", however this code works for 301 & 302 redirection. If anyone have idea, please help me out.

anujsharma

AnswerRe: 404 redirect for dynamically generated page(Data not found in database) Pin
N a v a n e e t h3-May-09 21:49
N a v a n e e t h3-May-09 21:49 
Question[newbie] Linq cannot find the tablename.. Pin
jon-803-May-09 19:42
professionaljon-803-May-09 19:42 
AnswerRe: [newbie] Linq cannot find the tablename.. Pin
Abhijit Jana3-May-09 19:57
professionalAbhijit Jana3-May-09 19:57 
AnswerRe: [newbie] Linq cannot find the tablename.. Pin
Abhishek Sur3-May-09 22:35
professionalAbhishek Sur3-May-09 22:35 
Question[newbie] binding anomaly Pin
jon-803-May-09 8:21
professionaljon-803-May-09 8:21 
AnswerRe: [newbie] binding anomaly Pin
Christian Graus3-May-09 13:20
protectorChristian Graus3-May-09 13:20 
GeneralRe: [newbie] binding anomaly Pin
jon-803-May-09 19:47
professionaljon-803-May-09 19:47 
QuestionAre "Master pages" ASP.NET's answer to Template Engine for .NET 2.0? Pin
Member 3653373-May-09 7:15
Member 3653373-May-09 7:15 
AnswerRe: Are "Master pages" ASP.NET's answer to Template Engine for .NET 2.0? Pin
Christian Graus3-May-09 13:24
protectorChristian Graus3-May-09 13:24 
Questionexecution of remote file Pin
sarav883-May-09 6:57
sarav883-May-09 6:57 
AnswerRe: execution of remote file Pin
Christian Graus3-May-09 13:27
protectorChristian Graus3-May-09 13:27 
QuestionMembership - creating a user and sending an email Pin
Member 54067793-May-09 6:22
Member 54067793-May-09 6:22 
QuestionRe: Membership - creating a user and sending an email Pin
Member 54067793-May-09 12:06
Member 54067793-May-09 12:06 
Questionaccess compare Pin
sarav883-May-09 6:13
sarav883-May-09 6:13 
AnswerRe: access compare Pin
Christian Graus3-May-09 13:35
protectorChristian Graus3-May-09 13:35 
QuestionSend SMS to single number Pin
Sujay chakraborty3-May-09 5:01
Sujay chakraborty3-May-09 5:01 
QuestionPlease Help Me for Print Pin
mohanbalal3-May-09 3:23
mohanbalal3-May-09 3:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.