Click here to Skip to main content
15,895,557 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: JavaScript Selection/Range Problem Pin
Aman Bhullar3-Nov-08 23:50
Aman Bhullar3-Nov-08 23:50 
QuestionRegular Expression Pin
ganeshMohan23-Oct-08 18:51
ganeshMohan23-Oct-08 18:51 
AnswerRe: Regular Expression Pin
Mohammad Dayyan24-Oct-08 2:47
Mohammad Dayyan24-Oct-08 2:47 
GeneralRe: Regular Expression Pin
Paul Conrad24-Oct-08 5:46
professionalPaul Conrad24-Oct-08 5:46 
QuestionDelegates in C# Pin
jainvidhya8423-Oct-08 3:34
jainvidhya8423-Oct-08 3:34 
AnswerRe: Delegates in C# Pin
Aman Bhullar3-Nov-08 23:55
Aman Bhullar3-Nov-08 23:55 
QuestionCannot retrieve the value from my session (cast type error) Pin
Aldeareao23-Oct-08 2:34
Aldeareao23-Oct-08 2:34 
AnswerRe: Cannot retrieve the value from my session (cast type error) Pin
Ashfield23-Oct-08 23:52
Ashfield23-Oct-08 23:52 
Ok, here is your problem I think.

string VARland = Session["searchland"].ToString();
System.Convert.ToInt32(VARland);

This means your VARland value is still stored in a string variable

try this

try
{
int32 VARland = System.Convert.ToInt32(Session["searchland"].ToString());
}
catch (Exception e)
{
....do something with your exception  
}


I think your second error is because you have no try catch blocks and something is generating an exception

Hope this helps

Bob
Ashfield Consultants Ltd

Questionjavascript problem in safari Pin
mynameissuraj22-Oct-08 22:44
mynameissuraj22-Oct-08 22:44 
QuestionDifference between session and static internal Pin
Kartik Rathi22-Oct-08 21:22
Kartik Rathi22-Oct-08 21:22 
AnswerRe: Difference between session and static internal Pin
Mohammad Dayyan26-Oct-08 0:00
Mohammad Dayyan26-Oct-08 0:00 
Question[Message Deleted] Pin
pzn3xq22-Oct-08 5:50
pzn3xq22-Oct-08 5:50 
AnswerCP IGNORE: Posted in THREE forums Pin
leckey22-Oct-08 7:31
leckey22-Oct-08 7:31 
AnswerRe: [Message Deleted] Pin
Mohammad Dayyan25-Oct-08 23:58
Mohammad Dayyan25-Oct-08 23:58 
Question[Message Deleted] Pin
pzn3xq22-Oct-08 5:46
pzn3xq22-Oct-08 5:46 
AnswerCP IGNORE: habitual cross poster Pin
leckey22-Oct-08 7:34
leckey22-Oct-08 7:34 
GeneralRe: CP IGNORE: habitual cross poster Pin
Paul Conrad22-Oct-08 7:51
professionalPaul Conrad22-Oct-08 7:51 
QuestioncontentEditable FireFox Pin
Lea Hayes22-Oct-08 2:55
Lea Hayes22-Oct-08 2:55 
QuestionActive Directory Information Pin
abivpm22-Oct-08 1:28
abivpm22-Oct-08 1:28 
QuestionI'd like to pay a programmer for a few hours of their time. I have a C# gui that I want made into a web page. Pin
Gunnar575921-Oct-08 16:44
Gunnar575921-Oct-08 16:44 
AnswerRe: I'd like to pay a programmer for a few hours of their time. I have a C# gui that I want made into a web page. Pin
Guffa21-Oct-08 20:25
Guffa21-Oct-08 20:25 
AnswerRe: I'd like to pay a programmer for a few hours of their time. I have a C# gui that I want made into a web page. Pin
SeMartens21-Oct-08 23:06
SeMartens21-Oct-08 23:06 
AnswerRe: I'd like to pay a programmer for a few hours of their time. I have a C# gui that I want made into a web page. Pin
Vasudevan Deepak Kumar24-Oct-08 12:34
Vasudevan Deepak Kumar24-Oct-08 12:34 
Questionweb page repaint issue Pin
Arman S.21-Oct-08 9:37
Arman S.21-Oct-08 9:37 
QuestionLocalhost does not work but server name does Pin
Meg W21-Oct-08 8:18
Meg W21-Oct-08 8:18 

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.