Click here to Skip to main content
15,920,438 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Problem with Ajax Modal pop up [modified] Pin
Mark Graham27-Nov-09 0:44
Mark Graham27-Nov-09 0:44 
QuestionAuto Increment problem (Identity property) Pin
Maxdd 726-Nov-09 16:28
Maxdd 726-Nov-09 16:28 
AnswerRe: Auto Increment problem (Identity property) Pin
N a v a n e e t h26-Nov-09 16:45
N a v a n e e t h26-Nov-09 16:45 
GeneralRe: Auto Increment problem (Identity property) Pin
Maxdd 726-Nov-09 16:49
Maxdd 726-Nov-09 16:49 
GeneralRe: Auto Increment problem (Identity property) Pin
N a v a n e e t h26-Nov-09 16:57
N a v a n e e t h26-Nov-09 16:57 
AnswerRe: Auto Increment problem (Identity property) Pin
Abhijit Jana26-Nov-09 17:13
professionalAbhijit Jana26-Nov-09 17:13 
AnswerRe: Auto Increment problem (Identity property) Pin
Shameel26-Nov-09 19:43
professionalShameel26-Nov-09 19:43 
AnswerRe: Auto Increment problem (Identity property) [modified] Pin
Vimalsoft(Pty) Ltd26-Nov-09 20:02
professionalVimalsoft(Pty) Ltd26-Nov-09 20:02 
Good Day Maxdd 7

as the guys says , that is how identity works. Delete and Truncate Works Differently. The Delete will continue from the previous seed but Truncate will start from the beginning. lets say i have this

Table1
<pre>
=============
ID | Name
=============
1 | Vuyiswa
2 | Maxdd 7
3 | Maxdd 8</pre>


if i have to Delete ID 3 and later i add a new Record. It will continue as ID 4 but if you truncate(this not a Good idea) the table and add the Records to a Temp table and insert in the very same table from a temp table you will get the records with ordered ID.

Hope you understand this.

Vuyiswa Maseko,

Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.

C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/

modified on Friday, November 27, 2009 9:12 AM

GeneralRe: Auto Increment problem (Identity property) Pin
Shameel27-Nov-09 0:31
professionalShameel27-Nov-09 0:31 
GeneralRe: Auto Increment problem (Identity property) Pin
Vimalsoft(Pty) Ltd27-Nov-09 3:13
professionalVimalsoft(Pty) Ltd27-Nov-09 3:13 
GeneralRe: Auto Increment problem (Identity property) Pin
Maxdd 729-Nov-09 7:06
Maxdd 729-Nov-09 7:06 
GeneralRe: Auto Increment problem (Identity property) Pin
Vimalsoft(Pty) Ltd29-Nov-09 19:20
professionalVimalsoft(Pty) Ltd29-Nov-09 19:20 
Questiondatasource on asp:dropdownlist is null after a postback Pin
AlexG211926-Nov-09 14:30
AlexG211926-Nov-09 14:30 
AnswerRe: datasource on asp:dropdownlist is null after a postback Pin
Kannan Ar26-Nov-09 15:14
professionalKannan Ar26-Nov-09 15:14 
QuestionCan't update file/database running ASP.NET under IIS Pin
vlehotay26-Nov-09 10:29
vlehotay26-Nov-09 10:29 
AnswerRe: Can't update file/database running ASP.NET under IIS Pin
Petr Pechovic26-Nov-09 11:19
professionalPetr Pechovic26-Nov-09 11:19 
GeneralRe: Can't update file/database running ASP.NET under IIS Pin
vlehotay26-Nov-09 15:29
vlehotay26-Nov-09 15:29 
GeneralRe: Can't update file/database running ASP.NET under IIS [modified] Pin
Petr Pechovic26-Nov-09 22:11
professionalPetr Pechovic26-Nov-09 22:11 
QuestionConverting a DataTable Column to an Array? Pin
James Shao26-Nov-09 5:10
James Shao26-Nov-09 5:10 
AnswerRe: Converting a DataTable Column to an Array? Pin
dan!sh 26-Nov-09 5:22
professional dan!sh 26-Nov-09 5:22 
AnswerRe: Converting a DataTable Column to an Array? Pin
Covean26-Nov-09 5:30
Covean26-Nov-09 5:30 
AnswerRe: Converting a DataTable Column to an Array? Pin
Kannan Ar26-Nov-09 5:30
professionalKannan Ar26-Nov-09 5:30 
AnswerRe: Converting a DataTable Column to an Array? Pin
Abhishek Sur26-Nov-09 8:18
professionalAbhishek Sur26-Nov-09 8:18 
AnswerRe: Converting a DataTable Column to an Array? Pin
James Shao26-Nov-09 14:38
James Shao26-Nov-09 14:38 
AnswerRe: Converting a DataTable Column to an Array? Pin
carlecomm26-Nov-09 23:28
carlecomm26-Nov-09 23:28 

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.