how can i call output parameters from ado.net
Answers were Sorted based on User's Feedback
Answer / vallabh naik
SqlParameter arParams = New SqlParameter("@FeedbackID",
SqlDbType.Int);
arParams.Direction = ParameterDirection.Output;
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / vineet tiwari
u can call output parameters in ado.net through store
procedure.
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / krishnarao
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 ? | 3 Yes | 6 No |
How can u handle Exceptions in Asp.Net?
Differentiate globalization and localization.
What is round trip in asp.net?
What is ispostback method in asp.net?
How can you handle unmanaged code exceptions in asp.net?
Can u able to get the xml document in crystal report if yes how its possible
What is the namespace to create thread in .net?
What's the use of formatters in .net?
What r new things introduced in ASP.NET 2.0 in comparision to ASP.NET 1.1
What are the disadvantages of asp.net?
hai to all. what is the procedure for " web hosting ".If you know please message me at "yoursguna@gmail.com". Thank u...
The technical part was on ASP.Net only of web services.
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)