3
Answers

Plz any one help me

Hi..In my ofce some body workd on FSL project in Asp.Net MVC4,but now the problem  in web FSL project is working very slow,redirecting from one page to another page it is taking a lot of time.They are thinking If we add the info into cookies thn it wil take a less time to redirecting but they used cookies only fr the login page.Now they gave the FSL project to me to fix the performance issue but I don't knw how to fix..becz I don't knw MVC.So can any one help me how to solve that performance issue and how to store the  other pages data into cookies after login???Plz he me any one 
Answers (3)
0
Kunal Vaishya

Kunal Vaishya

NA 4.1k 266k 12y
Dear Null and Character String cant Add by this way if you want to add numeric then you should do like this


TextBox3.Text = (Convert.ToDouble(Convert.ToString(textBox1.Text)) + Convert.ToDouble(Convert.ToString(textBox2.Text))).ToString();

in Text Change Event

it will convert zero if null exist



you can also chaeck by TextBox1.TextLenght  = 0  then zero value


0
Anil Kumar

Anil Kumar

NA 11.8k 982.9k 12y

Yes, It would raise error as you are trying to add "" (empty text) with your 2/3 texbox's values(integer).

Just initialize (default Text value) all your textboxes with 0 or 0.00

So, no matter how many inputs you give, it will not give you error. 
0
praveen maurya

praveen maurya

NA 0 13.1k 12y
hello there 

it is a windows application now i am attaching my whole project in this project i am doing five addition and get and get five output at a click but is i only want to do only 2 addition and the remaining textbox left emty then the programme is showing error THAT """Input string was not in a correct format."""""  

please help me to ignore the remaining textbox 

0
Anil Kumar

Anil Kumar

NA 11.8k 982.9k 12y

Is it a Win or Web application? And what kind of error are you getting? How are you implementing your logic? 
Please provide more details to resolve your problem.