How to convert a string into an Integer in ASP.net?
Answer Posted / sanjay
1))int a=int.Parse("string");
2))int a=Convert.ToInt32("string");
3))int a=(int)"string";
but the string provided should be integer
Is This Answer Correct ? | 9 Yes | 2 No |
Post New Answer View All Answers
What is view state and how it works in asp net?
How would ASP and ASP.NET applications run at the same time on the same server?
Describe the difference between inline and code behind - which is best in?
What does the hotspot class in .net do?
What is a 307 redirect?
Is web config mandatory?
How will create assesblies at run time?
What is the importance of Global.asax in ASP.NET?
Just by seeing the signature of the bean how can you specify whether it is a stateful or stateless session bean?
Explain Optimization technique description?
Explain a program using code nuggets to create a simple application? : asp.net mvc
Which asp.net objects encapsulate the state of the client and the browser?
What is difference between session and cookies?
What is the size of Get method and how much data it can store?
To display data in a Repeater control which template you provide?