TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Carlos kambui
NA
499
125.8k
Add columns
May 29 2015 4:05 AM
i have student table and student_id is primary key ,there is another column adm_no and i want when i admit new student adm_no increment by one without skipping i.e 1001 ,1002 etc
int x = 0;
x = x + 1;
tStudent.adm_no = Convert.ToInt32(txtadm.Text) + x;
i have the above code but not working .
any assistant will be highly appreciated
Reply
Answers (
9
)
Object cannot be cast from DBNull to other types
How to display the last five data's from Remote database ta