Can you please give me the idea about Auto generated Id For Student In c#.
And i want to Start Id From 501 and store this id in database table
please give me code for that.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Nirmal RoyRank #4,618 · 334 reputationPosted Apr 15, 2016, 4:22 AM EDT
Ravi PatelRank #439 · 5.7K reputationPosted Apr 15, 2016, 5:01 AM EDT
(
ID int IDENTITY(501,1) PRIMARY KEY,
LastName varchar(255) NOT NULL,
FirstName varchar(255),
Address varchar(255),
City varchar(255)
)
Amit KumarRank #459 · 5.4K reputationPosted Apr 15, 2016, 5:10 AM EDT
Rahul ChavanRank #2,671 · 521 reputationPosted Apr 15, 2016, 5:43 AM EDT