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

Answers were Sorted based on User's Feedback



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

Answer / bpl basant (from delhi)

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

or

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

Is This Answer Correct ?    0 Yes 0 No

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

Answer / sunny

(Convert.ToInt32(MyString)

Is This Answer Correct ?    8 Yes 11 No

Post New Answer

More ASP.NET Interview Questions

Which method do you invoke on the DataAdapter control to load your generated dataset with data?

2 Answers  


What is loop in asp.net?

0 Answers  


Features in ASP.NET ?

1 Answers   Microsoft,


What is Partial PostBack in ASP.NET?

0 Answers   Viscus Infotech,


What event handlers can I include in Global.asax ?

1 Answers  






What are the various ways to send content from one page to another?

0 Answers  


what is clr . how we access them?

3 Answers   TCS,


What are the ways of preserving data on a Web Form in ASP.NET?

0 Answers  


What is the function of the ViewState property?

0 Answers   MindCracker,


How many types of controls are there in asp.net?

0 Answers  


any body help me. Is it possible to convert text in gif images into word document with the same text? thanks in advance.

2 Answers  


How to do state management in ASP.NET?

0 Answers   BirlaSoft,


Categories