How to convert a string into an Integer in ASP.net?

Answer Posted / guest

by two ways u can do that
1.

int a = Int.Parse("String");

2.

int a = Convert.Int32("String");

Is This Answer Correct ?    100 Yes 18 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do u optimize a query in asp.net?

749


Explain file-based dependency and key-based dependency.

756


i have 3+ exp in .net? i am going interview now but they asked me do you know any TOOL? which tool will i study please refer me?

2073


benefits of migration from asp to asp.net hi frnds, i have to give presentation to a client about how useful would be migrating their project from asp to asp.net .plz give me some points which i should incorporate in my ppt thanks

2024


What is viewstate? What does the “enableviewstate” property do?

706


How to implement role based security in asp.net mvc? : Asp.Net MVC

619


Explain how caching in asp.net 2.0 is different from caching in asp.net 1.1?

706


Disable browser cache for entire ASP.NET website?

869


What are the disadvantages of view state?

813


What is actually returned from server to the browser when a browser requests an .aspx file and the file is displayed?

706


How to prepare culture-specific formatting in .net.

734


What is session start?

709


Elaborate differentiation between ViewState and SessionState?

830


Why and where this web.config file is used?

775


What are the Difference between asp.net and asp ?

760