Click here to Skip to main content
15,923,226 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: how to apply condition at sessions variable Pin
eyeseetee8-Jul-08 21:37
eyeseetee8-Jul-08 21:37 
QuestionRe: how to apply condition at sessions variable Pin
AprNgp8-Jul-08 21:49
AprNgp8-Jul-08 21:49 
AnswerRe: how to apply condition at sessions variable Pin
gaurav mangal9-Jul-08 2:42
gaurav mangal9-Jul-08 2:42 
Questionhow to apply condition at session value Pin
gaurav mangal8-Jul-08 20:28
gaurav mangal8-Jul-08 20:28 
AnswerRe: how to apply condition at session value Pin
Sherin Iranimose8-Jul-08 20:55
Sherin Iranimose8-Jul-08 20:55 
GeneralRe: how to apply condition at session value Pin
gaurav mangal8-Jul-08 21:13
gaurav mangal8-Jul-08 21:13 
GeneralRe: how to apply condition at session value Pin
Sherin Iranimose8-Jul-08 21:23
Sherin Iranimose8-Jul-08 21:23 
GeneralRe: how to apply condition at session value Pin
N a v a n e e t h8-Jul-08 23:13
N a v a n e e t h8-Jul-08 23:13 
Sherin Iranimose wrote:
totalControl=int.Parse(Session["child"].ToString());//Should be always contain numbers in session.


If you aren't sure about the session content, the above method is not secure as it may throw "FormatException" if session has an invalid value. Here is a safe method
if(int.TryParse(Session["child"].ToString(),out totalControl))
{
   /// continue processing here
}


All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia

How to use google | Ask smart questions

GeneralRe: how to apply condition at session value Pin
gaurav mangal9-Jul-08 2:38
gaurav mangal9-Jul-08 2:38 
GeneralRe: how to apply condition at session value Pin
gaurav mangal9-Jul-08 2:40
gaurav mangal9-Jul-08 2:40 
QuestionHow to create thumbail of wmv file? Pin
Member 41021718-Jul-08 19:56
Member 41021718-Jul-08 19:56 
QuestionPush Server Pin
Member 34533318-Jul-08 19:49
Member 34533318-Jul-08 19:49 
AnswerRe: Push Server Pin
eyeseetee8-Jul-08 21:38
eyeseetee8-Jul-08 21:38 
GeneralRe: Push Server Pin
Member 345333110-Jul-08 2:47
Member 345333110-Jul-08 2:47 
QuestionTimeout Expired in an application State Pin
r aa j8-Jul-08 19:30
r aa j8-Jul-08 19:30 
AnswerRe: Timeout Expired in an application State Pin
Venkatesh Mookkan8-Jul-08 20:04
Venkatesh Mookkan8-Jul-08 20:04 
QuestionFCKEditor image browse in asp.net 2 Pin
TheEagle8-Jul-08 18:20
TheEagle8-Jul-08 18:20 
QuestionLogin Control Database [modified] Pin
ASPnoob8-Jul-08 16:54
ASPnoob8-Jul-08 16:54 
AnswerRe: Login Control Database Pin
Christian Graus9-Jul-08 1:14
protectorChristian Graus9-Jul-08 1:14 
GeneralCannot get inner content of because the contents are not literal. Pin
Zoltan Balazs8-Jul-08 11:08
Zoltan Balazs8-Jul-08 11:08 
GeneralRe: Cannot get inner content of because the contents are not literal. Pin
Christian Graus8-Jul-08 14:41
protectorChristian Graus8-Jul-08 14:41 
AnswerRe: Cannot get inner content of because the contents are not literal. Pin
Guffa8-Jul-08 17:53
Guffa8-Jul-08 17:53 
GeneralRe: Cannot get inner content of because the contents are not literal. Pin
Nirandas8-Jul-08 18:54
Nirandas8-Jul-08 18:54 
GeneralRe: Cannot get inner content of because the contents are not literal. Pin
Zoltan Balazs8-Jul-08 19:22
Zoltan Balazs8-Jul-08 19:22 
GeneralRe: Cannot get inner content of because the contents are not literal. Pin
Nirandas8-Jul-08 19:59
Nirandas8-Jul-08 19:59 

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.