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
leathu raj
NA
62
79.4k
how to generate serial number in datagrid view row header
Apr 19 2014 7:40 AM
hai,
i have one doubt. I want to generate automatic serial number in datagrid view row header. If it possible please help me... And also i tried code for generate serial number in rows cell value. It works fine but it automatically generate serial number to next one row also. please help me my code is here.
for (int i = 0; i < datagridView1.Rows.Count; i++)
{
datagridView1.Rows[i].Cells[0].Value = (i + 1).ToString();
}
thanks in advance...
Reply
Answers (
1
)
textbox value read from sql table name coloum
multiply two coloum values display in textboxs