Is that the problem that you are afraid that below code will execute after Response.Redirect executes, isnt it? so dont be afraid. if the program reaches that Response.Redirect line, it normally stop executing that process and pass the control to next process, it will never execute below coding int x = 5; int y = 4; doSomething(x,y);
S
sandamalsilva
@sandamalsilva
Posts
-
Do I need to call return statement after a Response.Redirect method ? -
Virtual Web Developer >> Change database name...?Can you explain your problem little bit more
-
how to convert date into english wordsyou have to use a method which returns the word for each number. For an example refer the following code. public string getWordForNumber(int number) { string word = null; switch (number) { case 1 : word = "One"; break; case 2: word = "Two"; break; .. .. .. default: break; } return word; } For 30/31 days of month, you dont need 30/31 case on your switch. use another method which returns 10 to the power 1 numbers, For an example, for 21 --> for number 2 it should return Twenty, using the above method you can get next number, for number 1 - One, All together --> Twenty One