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

Database

 
GeneralRe: stored procedures Vs dynamic SQL Pin
Pete O'Hanlon16-Mar-07 4:09
mvePete O'Hanlon16-Mar-07 4:09 
GeneralRe: stored procedures Vs dynamic SQL Pin
digsy_16-Mar-07 4:51
digsy_16-Mar-07 4:51 
GeneralRe: stored procedures Vs dynamic SQL Pin
Pete O'Hanlon16-Mar-07 13:02
mvePete O'Hanlon16-Mar-07 13:02 
AnswerRe: stored procedures Vs dynamic SQL Pin
Mike Dimmick16-Mar-07 6:44
Mike Dimmick16-Mar-07 6:44 
QuestionMultiple Instances - SQLSERVER Pin
clint198216-Mar-07 3:39
clint198216-Mar-07 3:39 
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 
Need a little more info here.

What is your database?
If it is Sql server then:
First you will need a SqlConnection object:
http://msdn2.microsoft.com/en-us/library/system.data.sqlclient.sqlconnection.aspx[^]

Then you will need a Sqlcommand object:
http://msdn2.microsoft.com/en-us/library/system.data.dataset.aspx[^]

In your Sqlcommand object you set the stored procedure name, add the parameters and set them.

Next the question is: Does this stored procedure return data or insert records or what?
Based on that answer you will do a ExecuteReader or ExecuteNonQuery.

Hope that helps.
Ben
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 
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 

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.