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
ta mu
NA
201
81.8k
selected row index
Sep 8 2013 1:50 AM
i am trying to get selected row index but i got error
private void dataGridView1_CellClick(object sender, DataGridViewCellEventArgs e)
{
MessageBox.Show(dataGridView1.SelectedRows[0].Index.ToString());
}
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
whats wrong
Reply
Answers (
1
)
program to generate N random numbers between any two specifi
date n time picker value from database