hi frnd
this is raghuram
i had got a problem
when iam working with a form ,,,,in a textbox it will automatically increment a serial number and it will be stored in sqlaerver2005 database at evey time when form is loaded.....
pls give me reply as early as possible.....
kanuri1
-2
Junior Poster in Training
Recommended Answers
Jump to PostWhy not have SQL Server generate the auto increment number for you? Create a table with an identity column:
Create Table Tbl ( ID int identity(1000, 1) PRIMARY KEY, NameFirst varchar(50), NameLast varchar(50) )
Then insert data:
Insert Into Tbl (NameFirst, NameLast) Values ('Scott', …
All 3 Replies
sknake
1,622
Senior Poster
Featured Poster
kanuri1
-2
Junior Poster in Training
sknake
1,622
Senior Poster
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.