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                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
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 can i call output parameters from ado.net
 Question Submitted By :: Bachumalli
I also faced this Question!!     Rank Answer Posted By  
 
  Re: how can i call output parameters from ado.net
Answer
# 1
u can call output parameters in ado.net through store 
procedure.
 
Is This Answer Correct ?    1 Yes 1 No
Vineet Tiwari
 
  Re: how can i call output parameters from ado.net
Answer
# 2
i have to write a one example 

sqlconnection con=new sqlconnection(" u can write 
Connection string here);
sqlcommand cmd=new sqlcommand();
cmd.ConnectionString=con;
cmd.CommandText="u can write stored procedure name here";
cmd.CommandType=CommandType.StoredProcedure;
SqlDataReader dr;
dr=cmd.ExecuteReader();//the stored procedure will be 
executed here.the out put parameters will be stored into 
datareader.
TextBox.Text1=dr.GetValue(0).ToString();//get the output 
values here.
TextBox.Text2=dr.GetValue(1).ToString();//get the output 
values here.
 
Is This Answer Correct ?    2 Yes 4 No
Krishnarao
 
 
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
Where would you use an iHTTPModule, and what are the limitations of any approach you might take in implementing one  1
what to magage the state manament in asp.net with respect to in_prock and out_prock Aviva1
What data type does the RangeValidator control support? Visual-Soft3
Is it possible to prevent a browser from caching an ASPX page?  2
What data types do the RangeValidator control support?  2
What is shadowing? Syntax-Softtech2
when user is logged on the information is saved in a cookie, what is the name of that cookie? Mind-Tree2
What is the main difference between a static page and a dynamic page?  1
Is it possible to add aspx.vb file in to C# Web Project? If so how can i use the vb file in the C# Web project?  3
please can any describe 'Master Page' in ASP.Net 2.0  3
What is the difference between an EXE and a DLL?  6
What is the difference between a session object and cache object CitiGroup2
Explain the scenario where we go for inpro and outpro session?  2
I am having four text boxes in my web application. I am setting Required Field validator to each Text box. And I am having two buttons in my application. If i clicked the first button only first two text box validation will get fire. Dont show error message for remaining two text box. If i clicked second button last two text box validation will get fired. It will not consider the first two validation controls. That is how to enable and disable the validation controls.  4
Difference between application and session ? Satyam5
what is difference between User Control,Custom Contro1,Web server control and template controls  1
Differences between VB.Net and C#, related to OOPS concepts CSC5
To make Cache item dependent on a file,directory or other cached item ,you should create an instance of which clause?  1
What does assemblyinfo.cs file consist of? Accenture1
Features in ASP.NET? Microsoft2
 
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