Click here to Skip to main content
15,888,113 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Handling digital camera images with System.Drawing Pin
NeverHeardOfMe27-Jul-10 14:21
NeverHeardOfMe27-Jul-10 14:21 
GeneralRe: Handling digital camera images with System.Drawing Pin
Luc Pattyn27-Jul-10 14:43
sitebuilderLuc Pattyn27-Jul-10 14:43 
GeneralRe: Handling digital camera images with System.Drawing [modified] Pin
NeverHeardOfMe27-Jul-10 21:57
NeverHeardOfMe27-Jul-10 21:57 
GeneralRe: Handling digital camera images with System.Drawing Pin
Luc Pattyn28-Jul-10 0:56
sitebuilderLuc Pattyn28-Jul-10 0:56 
GeneralRe: Handling digital camera images with System.Drawing Pin
NeverHeardOfMe28-Jul-10 1:13
NeverHeardOfMe28-Jul-10 1:13 
Questiondoubt in Classic ASP Pin
Xandip27-Jul-10 11:28
Xandip27-Jul-10 11:28 
AnswerRe: doubt in Classic ASP Pin
Ankur\m/27-Jul-10 18:38
professionalAnkur\m/27-Jul-10 18:38 
QuestionGenerate Sequential Number without database Pin
Maikeru200027-Jul-10 9:42
Maikeru200027-Jul-10 9:42 
Hello,

I am working on a little tool to help multiple people write articles and I have hit a snag. Each article needs to have a unique, sequential id. This alone is not that difficult but I am wondering what the best way to implement it is as it seems like a waste to create a whole database just for tracking a "next id" field.

I was thinking of using a flat file (text/xml?) that the asp.net page reads from and then writes the new number right away. However, in that case how do I control concurrency (i.e. what if one person is reading in the split second before another writes their number back)? Or is this really an issue in something this simple?

Any advise on an appropriate method for keeping a "next id" information would be greatly appreciated.
AnswerRe: Generate Sequential Number without database Pin
Stoffy197227-Jul-10 9:50
Stoffy197227-Jul-10 9:50 
GeneralRe: Generate Sequential Number without database Pin
Yusuf27-Jul-10 10:07
Yusuf27-Jul-10 10:07 
GeneralRe: Generate Sequential Number without database Pin
Stoffy197227-Jul-10 10:21
Stoffy197227-Jul-10 10:21 
AnswerRe: Generate Sequential Number without database Pin
David Mujica27-Jul-10 9:57
David Mujica27-Jul-10 9:57 
AnswerRe: Generate Sequential Number without database Pin
Yusuf27-Jul-10 10:22
Yusuf27-Jul-10 10:22 
GeneralRe: Generate Sequential Number without database Pin
Maikeru20002-Aug-10 5:16
Maikeru20002-Aug-10 5:16 
AnswerRe: Generate Sequential Number without database Pin
T M Gray27-Jul-10 10:23
T M Gray27-Jul-10 10:23 
GeneralRe: Generate Sequential Number without database Pin
Maikeru200027-Jul-10 10:40
Maikeru200027-Jul-10 10:40 
GeneralRe: Generate Sequential Number without database Pin
T M Gray27-Jul-10 10:44
T M Gray27-Jul-10 10:44 
AnswerRe: Generate Sequential Number without database Pin
Adam R Harris28-Jul-10 8:52
Adam R Harris28-Jul-10 8:52 
Questiontips&tricks template Pin
farokhian27-Jul-10 5:39
farokhian27-Jul-10 5:39 
AnswerRe: tips&tricks template Pin
David Mujica27-Jul-10 6:02
David Mujica27-Jul-10 6:02 
Questionerror in dataRelation in asp.net [modified] Pin
Dhyanga27-Jul-10 3:08
Dhyanga27-Jul-10 3:08 
AnswerRe: error in dataRelation in asp.net Pin
Dhyanga27-Jul-10 7:19
Dhyanga27-Jul-10 7:19 
AnswerREPOST Pin
Not Active27-Jul-10 8:58
mentorNot Active27-Jul-10 8:58 
GeneralProblem not solved yet: error in using dataRelation in asp.net Pin
Dhyanga28-Jul-10 4:23
Dhyanga28-Jul-10 4:23 
QuestionJquery in asp.net Pin
Satish_S27-Jul-10 2:16
Satish_S27-Jul-10 2:16 

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.