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

ASP.NET

 
AnswerRe: Property value after PostBack of UserControl Pin
SHatchard27-Jun-07 5:28
SHatchard27-Jun-07 5:28 
GeneralRe: Property value after PostBack of UserControl Pin
ZeedijkMike27-Jun-07 5:56
ZeedijkMike27-Jun-07 5:56 
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 
because the dates come from a dropdown that contains a list of months and a dropdown that contains a list of years, these have then to be concatenated into Date Format with variables that I'm using in the SQL statement. This is going to be running on a company intranet so I'm not that worried about SQL Injection attacks

Code to populate the drop downs runs in not page.ispostback

thisMonth = Month(Now())
thisYear = Year(Now())

For j = thisYear - 5 To thisYear + 5
YearDD.Items.Add(Str(j))
Next

MonthDD.Items.Add("January")
MonthDD.Items.Add("February")
MonthDD.Items.Add("March")
MonthDD.Items.Add("April")
MonthDD.Items.Add("May")
MonthDD.Items.Add("June")
MonthDD.Items.Add("July")
MonthDD.Items.Add("August")
MonthDD.Items.Add("September")
MonthDD.Items.Add("October")
MonthDD.Items.Add("November")
MonthDD.Items.Add("December")

MonthDD.SelectedIndex = thisMonth - 1
YearDD.SelectedIndex = 5
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 
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 

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.