Click here to Skip to main content
15,888,733 members
Home / Discussions / Database
   

Database

 
AnswerRe: Multiple Instances - SQLSERVER Pin
Hesham Amin16-Mar-07 9:01
Hesham Amin16-Mar-07 9:01 
Questionhow we can use stored proceder with asp.net Pin
jayvaishnav8216-Mar-07 2:42
jayvaishnav8216-Mar-07 2:42 
AnswerRe: how we can use stored proceder with asp.net Pin
kubben16-Mar-07 2:47
kubben16-Mar-07 2:47 
AnswerRe: how we can use stored proceder with asp.net Pin
Marcus J. Smith16-Mar-07 2:47
professionalMarcus J. Smith16-Mar-07 2:47 
AnswerRe: how we can use stored proceder with asp.net Pin
Colin Angus Mackay16-Mar-07 3:37
Colin Angus Mackay16-Mar-07 3:37 
JokeRe: how we can use stored proceder with asp.net Pin
LongRange.Shooter16-Mar-07 7:48
LongRange.Shooter16-Mar-07 7:48 
GeneralRe: how we can use stored proceder with asp.net Pin
jayvaishnav8216-Mar-07 20:01
jayvaishnav8216-Mar-07 20:01 
GeneralRe: how we can use stored proceder with asp.net Pin
Colin Angus Mackay16-Mar-07 23:50
Colin Angus Mackay16-Mar-07 23:50 
jayvaishnav82 wrote:
method for storedproceder with parameters


My previous post gave away enough information for you to have been able to look up the answer on MSDN.

SqlCommand cmd = new SqlCommand();
cmd.CommandText = "StoredProcedureName";
cmd.CommandType = CommandType.StoredProcedure;
cmd.Connection = myConnection;
cmd.Parameters.Add("@parameterName", parameterValue);
cmd.ExecuteNonQuery(); // If you don't expect the stored procedure to return anything
// or
SqlDataReader reader = cmd.ExecuteReader(); // If you expect results



Questioncopy data between 2 instances Pin
Ista16-Mar-07 2:35
Ista16-Mar-07 2:35 
AnswerRe: copy data between 2 instances Pin
kubben16-Mar-07 2:43
kubben16-Mar-07 2:43 
GeneralRe: copy data between 2 instances Pin
Ista16-Mar-07 3:08
Ista16-Mar-07 3:08 
GeneralRe: copy data between 2 instances Pin
kubben16-Mar-07 3:21
kubben16-Mar-07 3:21 
GeneralRe: copy data between 2 instances Pin
Colin Angus Mackay16-Mar-07 3:38
Colin Angus Mackay16-Mar-07 3:38 
QuestionMultiple User tables? Pin
kbalias16-Mar-07 1:41
kbalias16-Mar-07 1:41 
AnswerRe: Multiple User tables? Pin
N a v a n e e t h16-Mar-07 1:50
N a v a n e e t h16-Mar-07 1:50 
GeneralRe: Multiple User tables? Pin
Pete O'Hanlon16-Mar-07 2:13
mvePete O'Hanlon16-Mar-07 2:13 
AnswerRe: Multiple User tables? Pin
LongRange.Shooter16-Mar-07 7:51
LongRange.Shooter16-Mar-07 7:51 
Questionconverting Pin
topcatalpha16-Mar-07 1:07
topcatalpha16-Mar-07 1:07 
AnswerRe: converting Pin
topcatalpha16-Mar-07 1:26
topcatalpha16-Mar-07 1:26 
AnswerRe: converting Pin
Mike Dimmick16-Mar-07 2:17
Mike Dimmick16-Mar-07 2:17 
GeneralRe: converting Pin
topcatalpha16-Mar-07 2:47
topcatalpha16-Mar-07 2:47 
GeneralRe: converting Pin
topcatalpha19-Mar-07 1:33
topcatalpha19-Mar-07 1:33 
QuestionEmbedding Reports Within a cell !!! Pin
fulbright15-Mar-07 20:46
fulbright15-Mar-07 20:46 
Questionhidden views in SQLServer Pin
Maira K15-Mar-07 20:06
Maira K15-Mar-07 20:06 
AnswerRe: hidden views in SQLServer Pin
coolestCoder16-Mar-07 2:00
coolestCoder16-Mar-07 2:00 

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.