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

How can you handle exceptions in asp.net?

560


What is the default Orientation property in a Menu control?

535


What can we do with asp.net?

512


If there are multiple update panels on the page say upd1 and upd2. There is a button placed in upd1. How can you stop upd2 to update when button placed in upd1 is clicked?

571


Explain diff. Betn dataset and recordset?

549






Is asp.net 64-bit enabled? How?

589


Error : The operation couldn’t be performed because ole db provider sqlncli10 for linked server was unable to begin a distributed transaction.00000110 oledb provider for linked server returned message the partner transaction manager has disabled its support for remote/network transactions. I can able to execute the stored procedure in sql server but when i run the web page getting error like above. I did all the configuration. what is the solution?

1904


What is autopostback true?

610


what is a .xap file? Explain with an example.

589


How can we identify that the Page is Post Back?

559


Suppose you want an asp.net function (client side) executed on the mouseover event of a button. Where do you add an event handler?

561


Diff between web user control and web custom control?

501


How to use a Master Database in Asp.net?

568


What is application variable in asp.net?

465


When was asp.net released?

570