Click here to Skip to main content
15,913,610 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Back button issue.......Please help me as soon as possible. Pin
ToddHileHoffer21-Nov-06 4:03
ToddHileHoffer21-Nov-06 4:03 
QuestionPassing parameters to SP Pin
Dayekh21-Nov-06 3:11
Dayekh21-Nov-06 3:11 
AnswerRe: Passing parameters to SP Pin
coolestCoder21-Nov-06 3:15
coolestCoder21-Nov-06 3:15 
GeneralRe: Passing parameters to SP Pin
Dayekh21-Nov-06 3:41
Dayekh21-Nov-06 3:41 
GeneralRe: Passing parameters to SP Pin
Colin Angus Mackay21-Nov-06 4:29
Colin Angus Mackay21-Nov-06 4:29 
GeneralRe: Passing parameters to SP Pin
Dayekh21-Nov-06 4:55
Dayekh21-Nov-06 4:55 
GeneralRe: Passing parameters to SP Pin
Colin Angus Mackay21-Nov-06 6:25
Colin Angus Mackay21-Nov-06 6:25 
GeneralRe: Passing parameters to SP Pin
coolestCoder21-Nov-06 20:00
coolestCoder21-Nov-06 20:00 
Hi,

First of all, write a store procedure that will contain all the queries in your view. If you want to check some condition
you can do it in a stored procedure too. (iProjectID and iStageID). You will have to learn the sql syntax of IF statements.
The values which i told you in last sentence, will be passed as input parameters to the stored procedure. This can be done
as told by other poster, using the command object and setting its CommandType property to StoredProcedure. Then add the
parameters to be passed to the stored procedure.

One of the things you might be wondering about, how to return multiple rows from a stored procedure. If you just
execute the query from SP and fill dataset using data-adapter, then you will get data tables for all your queries in the dataset.


"A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder

coolestCoder

GeneralRe: Passing parameters to SP Pin
Dayekh21-Nov-06 22:44
Dayekh21-Nov-06 22:44 
AnswerRe: Passing parameters to SP Pin
ednrgc21-Nov-06 3:37
ednrgc21-Nov-06 3:37 
QuestionRe: Passing parameters to SP Pin
Dayekh21-Nov-06 5:45
Dayekh21-Nov-06 5:45 
QuestionRegular Expression Validator Pin
dhatchu21-Nov-06 2:19
dhatchu21-Nov-06 2:19 
AnswerRe: Regular Expression Validator Pin
Paddy Boyd21-Nov-06 2:26
Paddy Boyd21-Nov-06 2:26 
AnswerRe: Regular Expression Validator Pin
ayeleteric21-Nov-06 2:41
ayeleteric21-Nov-06 2:41 
QuestionResuable code in webforms & webservice Pin
Nitin198121-Nov-06 1:44
Nitin198121-Nov-06 1:44 
AnswerRe: Resuable code in webforms & webservice Pin
ednrgc21-Nov-06 2:17
ednrgc21-Nov-06 2:17 
GeneralRe: Resuable code in webforms & webservice Pin
Nitin198122-Nov-06 18:06
Nitin198122-Nov-06 18:06 
Questionhow to check email Pin
kumar bharat bhusanam21-Nov-06 1:31
kumar bharat bhusanam21-Nov-06 1:31 
AnswerRe: how to check email Pin
Nitin198121-Nov-06 1:39
Nitin198121-Nov-06 1:39 
QuestionCurrent Page in GridView Pin
Mazdak21-Nov-06 1:26
Mazdak21-Nov-06 1:26 
AnswerRe: Current Page in GridView Pin
ednrgc21-Nov-06 2:15
ednrgc21-Nov-06 2:15 
GeneralRe: Current Page in GridView Pin
Mazdak21-Nov-06 2:57
Mazdak21-Nov-06 2:57 
GeneralRe: Current Page in GridView Pin
ednrgc21-Nov-06 3:22
ednrgc21-Nov-06 3:22 
GeneralRe: Current Page in GridView Pin
Mazdak21-Nov-06 9:52
Mazdak21-Nov-06 9:52 
QuestionFTP application Pin
sukhchain singh21-Nov-06 0:40
sukhchain singh21-Nov-06 0:40 

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.