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

ASP.NET

 
QuestionSorting problem Pin
ayeleteric21-Nov-06 3:55
ayeleteric21-Nov-06 3:55 
AnswerRe: Sorting problem [modified] Pin
ToddHileHoffer21-Nov-06 5:04
ToddHileHoffer21-Nov-06 5:04 
GeneralRe: Sorting problem [modified] Pin
ayeleteric21-Nov-06 22:47
ayeleteric21-Nov-06 22:47 
QuestionBack button issue.......Please help me as soon as possible. Pin
karanji21-Nov-06 3:48
karanji21-Nov-06 3:48 
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 
Thanks for the reply!

Here what I have when I use a view:

<br />
Dim ds As DataSet = New DataSet<br />
            Dim Conn As SqlConnection = New SqlConnection(WebConfig.ConnectionString)<br />
            Dim sTable() As String = {"tblRequest"}<br />
            Dim sSql As String<br />
<br />
            sSql = "SELECT * FROM vw_Quote2 "<br />
<br />
            If iProjectID > 0 And iStageID > 0 Then<br />
                sSql = sSql & " WHERE inProjectID = " & iProjectID & " AND inStageID = " & iStageID<br />
            ElseIf iProjectID > 0 And iStageID = 0 Then<br />
                sSql = sSql & " WHERE inProjectID = " & iProjectID<br />
            End If<br />
<br />
            sSql = sSql & " Order By vchStageNumber"<br />
<br />
            SqlHelper.FillDataset(Conn, CommandType.Text, sSql, ds, sTable)<br />
<br />
            Return ds


Now that I am useing the SP, I have All my SELECT statements in there BUT, I do not have the conditions for those 2 Dropdowns. I dont know how to encorporate them. Also, I do not know how to use the SP in this case.

Sorry if I sound a bit dumb, but things arent clicking with me lately. I am finding it very hard to understand get my head around SPs Frown | :(

Thanks again!
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 
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 

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.