Click here to Skip to main content
15,897,518 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Postback issue Pin
AmitGajjar4-Dec-12 15:20
professionalAmitGajjar4-Dec-12 15:20 
GeneralRe: Postback issue Pin
n.podbielski4-Dec-12 20:29
n.podbielski4-Dec-12 20:29 
GeneralRe: Postback issue Pin
AmitGajjar4-Dec-12 20:46
professionalAmitGajjar4-Dec-12 20:46 
GeneralRe: Postback issue Pin
n.podbielski4-Dec-12 20:59
n.podbielski4-Dec-12 20:59 
GeneralRe: Postback issue Pin
AmitGajjar4-Dec-12 21:19
professionalAmitGajjar4-Dec-12 21:19 
GeneralRe: Postback issue Pin
n.podbielski4-Dec-12 23:45
n.podbielski4-Dec-12 23:45 
AnswerRe: Postback issue Pin
CommDev8-Dec-12 23:15
CommDev8-Dec-12 23:15 
QuestionSQL query in c# Pin
AnirbanM 23-Dec-12 2:31
professionalAnirbanM 23-Dec-12 2:31 
I'm having one web application where within loop I'm running one simple sql query (SQL Server 2008).
C#
Select SNo, NoOfDays, [Month], [Year], [Days], [Holiday] From DaysMonth Where rtrim(Period)='Input' order by ToDate

Based on this query, populating one gridview and then creating records in a new table with other user input.
Now, out of 100 times it's running, 95-98 times it's giving accurate results, however, to my astonishment, sometimes sorting 'Order by' not working and producing abnormal sorting behavior. Like instead of 1st January to 31 January, it's returning 10th Jan-31st Jan then 1st Jan to 9th Jan (just for example). I got puzzled, because I can't do anything to change code, as it's working fine most of the time. Can you suggest some reason behind it which is beyond the code. As the data entry is huge, and it's multi-user environment, getting very difficult to monitor which one query going wrong. In that case, if I delete entries from new table, second time, it's giving perfect result. Please help me and thanks in advance to all.
AnswerRe: SQL query in c# Pin
Richard MacCutchan3-Dec-12 2:36
mveRichard MacCutchan3-Dec-12 2:36 
GeneralRe: SQL query in c# Pin
AnirbanM 23-Dec-12 2:47
professionalAnirbanM 23-Dec-12 2:47 
GeneralRe: SQL query in c# Pin
Richard MacCutchan3-Dec-12 2:50
mveRichard MacCutchan3-Dec-12 2:50 
GeneralRe: SQL query in c# Pin
AnirbanM 23-Dec-12 2:56
professionalAnirbanM 23-Dec-12 2:56 
Questionstate management Pin
Member 80319152-Dec-12 23:12
Member 80319152-Dec-12 23:12 
AnswerRe: state management Pin
ThetaClear2-Dec-12 23:19
ThetaClear2-Dec-12 23:19 
GeneralRe: state management Pin
Member 80319152-Dec-12 23:26
Member 80319152-Dec-12 23:26 
GeneralRe: state management Pin
ThetaClear2-Dec-12 23:37
ThetaClear2-Dec-12 23:37 
GeneralRe: state management Pin
Member 80319152-Dec-12 23:48
Member 80319152-Dec-12 23:48 
GeneralRe: state management Pin
ThetaClear3-Dec-12 0:02
ThetaClear3-Dec-12 0:02 
AnswerRe: state management Pin
AmitGajjar3-Dec-12 18:15
professionalAmitGajjar3-Dec-12 18:15 
QuestionGeneral understanding how facebook knows who is the user who is making a request for the 'code' parameter Pin
ThetaClear2-Dec-12 22:03
ThetaClear2-Dec-12 22:03 
Question3 tier applications in ASP.NET Pin
DeepanjanNag2-Dec-12 10:54
DeepanjanNag2-Dec-12 10:54 
AnswerRe: 3 tier applications in ASP.NET Pin
Deflinek3-Dec-12 2:26
Deflinek3-Dec-12 2:26 
AnswerRe: 3 tier applications in ASP.NET Pin
AmitGajjar3-Dec-12 18:16
professionalAmitGajjar3-Dec-12 18:16 
Questionselect an item in gridview Pin
ptvce2-Dec-12 1:56
ptvce2-Dec-12 1:56 
AnswerRe: select an item in gridview Pin
CommDev3-Dec-12 4:41
CommDev3-Dec-12 4:41 

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.