Click here to Skip to main content
15,887,676 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Property value after PostBack of UserControl Pin
Urs Enzler27-Jun-07 8:44
Urs Enzler27-Jun-07 8:44 
QuestionRetrieving Property value after PostBack of UserControl Pin
ZeedijkMike27-Jun-07 4:39
ZeedijkMike27-Jun-07 4:39 
AnswerRe: Retrieving Property value after PostBack of UserControl Pin
Venkatesh Mookkan27-Jun-07 17:38
Venkatesh Mookkan27-Jun-07 17:38 
QuestionSQL Query works intermittently... Pin
TenmanS1427-Jun-07 4:39
TenmanS1427-Jun-07 4:39 
AnswerRe: SQL Query works intermittently... Pin
Colin Angus Mackay27-Jun-07 5:12
Colin Angus Mackay27-Jun-07 5:12 
GeneralRe: SQL Query works intermittently... Pin
TenmanS1427-Jun-07 5:26
TenmanS1427-Jun-07 5:26 
GeneralRe: SQL Query works intermittently... Pin
Colin Angus Mackay27-Jun-07 6:09
Colin Angus Mackay27-Jun-07 6:09 
GeneralRe: SQL Query works intermittently... Pin
TenmanS1427-Jun-07 8:47
TenmanS1427-Jun-07 8:47 
OK, had a go at getting that variable as a parameter as well, works OK, but I still have the same problem, if I change the year or the month drop down and repost the page, it doesn't seem to run the query, as soon as I change the ClientCode or Partner dropdown and repost it, it runs the query with the correct Dates selected as well... This is going to be something really simple I feel and I'm going to look like a right tool...

SQLString1 = "SELECT [InvoiceNo], [ClientCode], [Date], [PnrCode], [Initials], [Amount], [AccyNC4000], [DisbsNC4090], [DKpgmgmtNC4050], [CorpTaxNC4021], [PersTaxNC4030], [PayrollNC4070], [ExectrustNC4031], [CoySecNC4010], [OtherNC4080], [AccyNC4000]+[DisbsNC4090]+[DKpgmgmtNC4050]+[CorpTaxNC4021]+[PersTaxNC4030]+[PayrollNC4070]+[ExectrustNC4031]+[CoySecNC4010]+[OtherNC4080] as [Total] FROM [transaction] WHERE "

If PartnerDD.SelectedItem.Value <> 0 Then
SQLString1 = SQLString1 & "([PnrCode] = @PnrCode) AND "
End If

If ClientCodeDD.SelectedItem.Text <> "Select a Client Code" Then
SQLString1 = SQLString1 & "([ClientCode] = @ClientCode) AND "
End If

SqlDataSource1.SelectParameters.Item("dateFrom").DefaultValue = dateParam
SqlDataSource1.SelectParameters.Item("dateTo1").DefaultValue = dateParam1

SQLString1 = SQLString1 & "([Date] >= @DateFrom) AND ([Date] < @DateTo1)"
MsgBox(SQLString1)
SqlDataSource1.SelectCommand = SQLString1
GeneralRe: SQL Query works intermittently... [modified] Pin
TenmanS1427-Jun-07 9:20
TenmanS1427-Jun-07 9:20 
Questionurgent need about stored procedure..., Pin
Member 387988127-Jun-07 3:21
Member 387988127-Jun-07 3:21 
AnswerRe: urgent need about stored procedure..., Pin
Colin Angus Mackay27-Jun-07 3:37
Colin Angus Mackay27-Jun-07 3:37 
AnswerRe: urgent need about stored procedure..., Pin
dekart_roo27-Jun-07 6:46
dekart_roo27-Jun-07 6:46 
QuestionPrinting Pin
Blue_Boy27-Jun-07 3:10
Blue_Boy27-Jun-07 3:10 
AnswerRe: Printing Pin
Vasudevan Deepak Kumar27-Jun-07 3:13
Vasudevan Deepak Kumar27-Jun-07 3:13 
GeneralRe: Printing Pin
Blue_Boy27-Jun-07 5:27
Blue_Boy27-Jun-07 5:27 
QuestionExport Crystal reports Pin
itzmevishu27-Jun-07 2:51
itzmevishu27-Jun-07 2:51 
AnswerRe: Export Crystal reports Pin
Vasudevan Deepak Kumar27-Jun-07 3:08
Vasudevan Deepak Kumar27-Jun-07 3:08 
GeneralRe: Export Crystal reports Pin
itzmevishu27-Jun-07 3:13
itzmevishu27-Jun-07 3:13 
GeneralRe: Export Crystal reports Pin
Vasudevan Deepak Kumar27-Jun-07 3:35
Vasudevan Deepak Kumar27-Jun-07 3:35 
GeneralRe: Export Crystal reports Pin
itzmevishu27-Jun-07 4:11
itzmevishu27-Jun-07 4:11 
GeneralRe: Export Crystal reports Pin
itzmevishu27-Jun-07 4:16
itzmevishu27-Jun-07 4:16 
QuestionMaintaining dynamic controls Pin
Venkatesh Mookkan27-Jun-07 2:15
Venkatesh Mookkan27-Jun-07 2:15 
AnswerRe: Maintaining dynamic controls Pin
Vasudevan Deepak Kumar27-Jun-07 3:12
Vasudevan Deepak Kumar27-Jun-07 3:12 
GeneralRe: Maintaining dynamic controls Pin
Venkatesh Mookkan27-Jun-07 6:05
Venkatesh Mookkan27-Jun-07 6:05 
QuestionCalling Applet using Javascript in Firefox Browser. Pin
Irshad Ahmed27-Jun-07 1:45
Irshad Ahmed27-Jun-07 1:45 

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.