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

Answer Posted / bpl basant (from delhi)

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

or

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

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain culture and uiculture values.

748


Define msil.

742


How do you open a page in a new window?

753


How do you declare static variable?

752


Difference between Response.redirect vs server.transfer?

854


How can we register exception filter from the action?

845


What is asp.net version?

709


What is caching? Explain.

730


What is the use of express session?

730


What New Features comes with ASP.NET Web API 2.0?

755


what cut off mark for po's,what questions they asked for interview?

1619


What is syntax code to send email from an asp.net application?

749


What are triggers of an updatepanel?

720


How do you secure your connection string information?

706


Is post back in asp.net?

691