Click here to Skip to main content
15,891,033 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Browser compatability Issues Pin
Jeremy Likness9-Jul-09 8:24
professionalJeremy Likness9-Jul-09 8:24 
Questionproblem in getting the count of listitems in listbox javascript Pin
nainakarri9-Jul-09 5:20
nainakarri9-Jul-09 5:20 
AnswerRe: problem in getting the count of listitems in listbox javascript Pin
Blue_Boy9-Jul-09 6:14
Blue_Boy9-Jul-09 6:14 
QuestionDataBind having error with null values Pin
dreamaway8209-Jul-09 5:15
dreamaway8209-Jul-09 5:15 
AnswerRe: DataBind having error with null values Pin
Zafar A khan 9-Jul-09 19:14
professionalZafar A khan 9-Jul-09 19:14 
GeneralRe: DataBind having error with null values [modified] Pin
dreamaway82010-Jul-09 4:32
dreamaway82010-Jul-09 4:32 
QuestionHow to reset a counter on database table Pin
VivekUtsa9-Jul-09 5:00
VivekUtsa9-Jul-09 5:00 
AnswerRe: How to reset a counter on database table Pin
DoctorMick9-Jul-09 5:04
DoctorMick9-Jul-09 5:04 
There are 2 obvious ways I can think of....

1 - Store the order date in the database, that way the order numbers don't need to be reset, you can simply provide a screen to display the total number of orders for a given day.
2 - Store the order date and order number in the database against each order. Create a new table called something like currentordernumber, with 2 columns date and nextordernumber, each time you create a new order query this table to get the next order number and update the table to set the nextordernumber +1. If the current date is different to the date in the currentordernumber table update the date in the table and set the order number to 1.

Option 1 is by far the best option IMO.
GeneralRe: How to reset a counter on database table Pin
VivekUtsa9-Jul-09 5:47
VivekUtsa9-Jul-09 5:47 
GeneralRe: How to reset a counter on database table Pin
Manas Bhardwaj9-Jul-09 5:59
professionalManas Bhardwaj9-Jul-09 5:59 
GeneralRe: How to reset a counter on database table Pin
VivekUtsa9-Jul-09 6:14
VivekUtsa9-Jul-09 6:14 
GeneralRe: How to reset a counter on database table Pin
N a v a n e e t h9-Jul-09 17:45
N a v a n e e t h9-Jul-09 17:45 
GeneralRe: How to reset a counter on database table Pin
VivekUtsa11-Jul-09 6:03
VivekUtsa11-Jul-09 6:03 
Questionuse one gridview with two tables having no common field? Pin
shankbond9-Jul-09 4:36
shankbond9-Jul-09 4:36 
AnswerRe: use one gridview with two tables having no common field? Pin
Christian Graus9-Jul-09 4:39
protectorChristian Graus9-Jul-09 4:39 
GeneralRe: use one gridview with two tables having no common field? Pin
shankbond9-Jul-09 5:39
shankbond9-Jul-09 5:39 
GeneralRe: use one gridview with two tables having no common field? Pin
shankbond10-Jul-09 1:34
shankbond10-Jul-09 1:34 
GeneralRe: use one gridview with two tables having no common field? Pin
Zafar A khan 10-Jul-09 19:27
professionalZafar A khan 10-Jul-09 19:27 
QuestionCreate select stored procedure and create connection string Pin
Mix Wheels9-Jul-09 3:08
Mix Wheels9-Jul-09 3:08 
AnswerRe: Create select stored procedure and create connection string Pin
Christian Graus9-Jul-09 3:15
protectorChristian Graus9-Jul-09 3:15 
GeneralRe: Create select stored procedure and create connection string Pin
Manas Bhardwaj9-Jul-09 3:21
professionalManas Bhardwaj9-Jul-09 3:21 
GeneralRe: Create select stored procedure and create connection string Pin
Christian Graus9-Jul-09 3:26
protectorChristian Graus9-Jul-09 3:26 
AnswerRe: Create select stored procedure and create connection string Pin
Manas Bhardwaj9-Jul-09 3:17
professionalManas Bhardwaj9-Jul-09 3:17 
AnswerRe: Create select stored procedure and create connection string Pin
Sun Rays9-Jul-09 3:30
Sun Rays9-Jul-09 3:30 
QuestionDeploy report via code Pin
mehrdadc489-Jul-09 2:43
mehrdadc489-Jul-09 2:43 

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.