ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  ASP.NET
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 SharePoint interview questions  SharePoint Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
How to convert a string into an Integer in ASP.net?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How to convert a string into an Integer in ASP.net?
Answer
# 1
by two ways u can do that
1.

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

2.

int a = Convert.Int32("String");
 
Is This Answer Correct ?    19 Yes 3 No
Guest
 
  Re: How to convert a string into an Integer in ASP.net?
Answer
# 2
we can do this way also
 int intA=Convert.ToInt32("string");
 
Is This Answer Correct ?    14 Yes 5 No
Deva
 
 
 
  Re: How to convert a string into an Integer in ASP.net?
Answer
# 3
int A = CInt("String") i think this is the best way
 
Is This Answer Correct ?    3 Yes 2 No
Bhaskar
 
  Re: How to convert a string into an Integer in ASP.net?
Answer
# 4
works only if the input is integer
 
Is This Answer Correct ?    0 Yes 3 No
Kiran
 
  Re: How to convert a string into an Integer in ASP.net?
Answer
# 5
Good
 
Is This Answer Correct ?    0 Yes 0 No
Sid
 
  Re: How to convert a string into an Integer in ASP.net?
Answer
# 6
(Convert.ToInt32(MyString)
 
Is This Answer Correct ?    0 Yes 0 No
Sunny
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
Where does the Web page belong in the .NET Framework class hierarchy? Visual-Soft1
How can we prevent an aspx page get refreshed when any information fetch from the database ? Minecode2
What is the use of mcommand ? mcommand.fill(ds,"orderdetails"); Netsweeper1
What is view state and how this can be done and was this there in asp? Accenture8
When Garbage Collector will run and how its identifing whether the Object is used or Not.? Verizon2
If i have a page where i create an instance of a dll and without invoking any method can I send values to next page ? Satyam1
What are the new page events added in Asp.net 2.0 ? Sapient5
Differentiate session and cookie  1
I have been asked in an interview What is your LOC(Line of Code)What will be the probable answer for that HCL1
why security trimming attribute?  1
What is a bubbled event?  2
when to use webservice and when to use remotong diff between them  3
What are Themes? What is their use ?  1
What is the Web.config file used for? a) To store the global information and variable definition for the application. b) Configures the time that the server-side codebehind module is called c) To Configure the Web Server. d) To Configure the Web browser. Syntax-Softtech3
with which controls you worked in Asp.net 2.0? HP2
How do you use css in asp.net?  4
What is the Global ASA(X) File?  2
What is the use of SmartNavigation property?  2
What is wrong with a line like this? DateTime.Parse(myString) Metasys4
What are generics? why it is used? architecture of ASP.NET? Satyam4
 
For more ASP.NET Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com