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   interview questions urls   External Links  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
 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 ?    2 Yes 0 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 ?    2 Yes 0 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 ?    0 Yes 0 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 0 No
Kiran
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
How do you register a .NET assembly? Microsoft1
What is SOAP, UDDI and WSDL ? Infosys1
Rate yourself in .net and sql database? Satyam1
How can i include both C# and vb.net classes in same solution?  2
Difference between application and session ? Satyam4
What is the difference between a session object and cache object CitiGroup2
What is difference between ASP and ASP.NET ? TCS2
what is the MSIL assembler do?  1
Is It Possible for Static Variables access normal variable? and Normal Varialbe Access the static Variables? Phoenix-Technologies1
How To Call Outside Javascript File? Example : Our Project File Folder Name "Sample" Another Folder Name "Check".Check Folder Is Out Side Of Our Project ?Check Folder Have Verify.Js File. My Question Is How To Call Verify.Js File. Phoenix-Technologies1
How do you specify whether your data should be passed as Query string and Forms (Mainly about POST and GET)  2
can i use two web.config files of ConnectionString in One Default.aspx page Verinon-Technology-Solutions4
Hi , I am Basha. I am searching a job in dotnet.Plz tell me the order of page events in asp.net 2.0> plz send faq's related to c#.net,asp.net,sqlserver2000 etc. to my mail-id : bashask.ss@gmail.com Sapient4
If cookies is disabled in client browser will session work ? Satyam2
Could u send me the answer for this question as soon as possible. Im using 'System.net.mail.mailmessage' namespace for sending a mail from my application. What should I mention in 'system.net.mail.mailmessage.to' property and What should I mention in 'system.net.mail.mailmessage.from' property.  1
What is boxing? How we can use it? NIIT2
How do you enable tracing? a) Set the Trace property of the Web Form to True b) Set the Trace property of the server object to True c) Set the Session variables Trace to True d) Set the Applications Variable Trace to True. Syntax-Softtech2
What is a Windows Service and how does its lifecycle differ from a "standard" EXE?  1
Various types of Page Load functions Net-Solution2
What is application variable and when it is initialized ? Keane-India-Ltd3
 
For more ASP.NET Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

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