Click here to Skip to main content
16,016,568 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionPassing Credentials from ASP.NET to OWA Pin
ahayw0115-Sep-09 12:51
ahayw0115-Sep-09 12:51 
AnswerRe: Passing Credentials from ASP.NET to OWA Pin
Not Active15-Sep-09 13:26
mentorNot Active15-Sep-09 13:26 
GeneralRe: Passing Credentials from ASP.NET to OWA Pin
Abhijit Jana15-Sep-09 18:31
professionalAbhijit Jana15-Sep-09 18:31 
GeneralRe: Passing Credentials from ASP.NET to OWA Pin
Not Active16-Sep-09 1:51
mentorNot Active16-Sep-09 1:51 
AnswerRe: Passing Credentials from ASP.NET to OWA Pin
Abhijit Jana15-Sep-09 18:36
professionalAbhijit Jana15-Sep-09 18:36 
GeneralRe: Passing Credentials from ASP.NET to OWA Pin
mzuc30-Sep-09 22:01
mzuc30-Sep-09 22:01 
QuestionStored Procedures retrieving values Pin
greendragons15-Sep-09 12:48
greendragons15-Sep-09 12:48 
AnswerRe: Stored Procedures retrieving values Pin
Abhishek Sur15-Sep-09 12:54
professionalAbhishek Sur15-Sep-09 12:54 
Use Output parameter

Create procedure arts
@Artist nchar(50),
@Ret NVARCHAR(40) OUTPUT
BEGIN
...
...
SET @Ret = yourresult...
END


From code write
SqlParameter oparam = new SqlParameter("@Ret", SqlDbType.NVarchar, 50);
oparam.Direction=ParameterDirection.Output;
cmd.Parameters.Add(oparam);
cmd.ExecuteNonQuery();


Now you will find the return statement in oparam.value. .
Rose | [Rose]

Abhishek Sur

My Latest Articles
Create CLR objects in SQL Server 2005
C# Uncommon Keywords
Read/Write Excel using OleDB

Don't forget to click "Good Answer" if you like to.

GeneralRe: Stored Procedures retrieving values Pin
greendragons15-Sep-09 13:08
greendragons15-Sep-09 13:08 
AnswerRe: Stored Procedures retrieving values Pin
Abhishek Sur15-Sep-09 13:14
professionalAbhishek Sur15-Sep-09 13:14 
GeneralRe: Stored Procedures retrieving values Pin
greendragons15-Sep-09 13:29
greendragons15-Sep-09 13:29 
GeneralRe: Stored Procedures retrieving values Pin
Christian Graus15-Sep-09 14:00
protectorChristian Graus15-Sep-09 14:00 
AnswerRe: Stored Procedures retrieving values Pin
Abhishek Sur15-Sep-09 22:38
professionalAbhishek Sur15-Sep-09 22:38 
QuestionCould not load file or assembly 'MySql.Data, Version=5.2.3.0, Culture=neutral, PublicKeyToken Pin
mark_me15-Sep-09 12:16
mark_me15-Sep-09 12:16 
AnswerRe: Could not load file or assembly 'MySql.Data, Version=5.2.3.0, Culture=neutral, PublicKeyToken Pin
Christian Graus15-Sep-09 12:34
protectorChristian Graus15-Sep-09 12:34 
GeneralRe: Could not load file or assembly 'MySql.Data, Version=5.2.3.0, Culture=neutral, PublicKeyToken Pin
mark_me17-Sep-09 12:55
mark_me17-Sep-09 12:55 
QuestionConfiguration and Trust levels Pin
mbangh15-Sep-09 12:12
mbangh15-Sep-09 12:12 
AnswerRe: Configuration and Trust levels Pin
egenis15-Sep-09 20:01
egenis15-Sep-09 20:01 
GeneralRe: Configuration and Trust levels Pin
mbangh16-Sep-09 5:58
mbangh16-Sep-09 5:58 
GeneralRe: Configuration and Trust levels Pin
egenis16-Sep-09 18:04
egenis16-Sep-09 18:04 
QuestionSilverlight error when not using silverlight -edit resolved. Pin
thrakazog15-Sep-09 11:22
thrakazog15-Sep-09 11:22 
AnswerRe: Silverlight error when not using silverlight Pin
Christian Graus15-Sep-09 11:27
protectorChristian Graus15-Sep-09 11:27 
GeneralRe: Silverlight error when not using silverlight Pin
thrakazog15-Sep-09 11:45
thrakazog15-Sep-09 11:45 
GeneralRe: Silverlight error when not using silverlight Pin
Christian Graus15-Sep-09 11:52
protectorChristian Graus15-Sep-09 11:52 
Questioncalende option disappeare after deploying my code in server Pin
amitamit09915-Sep-09 9:23
amitamit09915-Sep-09 9:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.