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
Jitendra Shekhawat
NA
1.7k
16.8k
Index was out of range. Must be non-negative and less than t
Jan 18 2017 3:23 AM
ID = Convert.ToInt32(dataGridView1.Rows[e.RowIndex].Cells[0].Value.ToString());
TitalcomboBox.Text = dataGridView1.Rows[e.RowIndex].Cells[1].Value.ToString();
NametxtBox.Text = dataGridView1.Rows[e.RowIndex].Cells[2].Value.ToString();
HPtxtBox.Text = dataGridView1.Rows[e.RowIndex].Cells[3].Value.ToString();
//CPtxtBox.Text = dataGridView1.Rows[e.RowIndex].Cells[4].Value.ToString();
//WPtxtBox.Text = dataGridView1.Rows[e.RowIndex].Cells[5].Value.ToString();
//AddrstxtBox.Text = dataGridView1.Rows[e.RowIndex].Cells[6].Value.ToString();
//CitytxtBox.Text = dataGridView1.Rows[e.RowIndex].Cells[7].Value.ToString();
//StatecomboBox.Text = dataGridView1.Rows[e.RowIndex].Cells[8].Value.ToString();
//PintxtBox.Text = dataGridView1.Rows[e.RowIndex].Cells[9].Value.ToString();
//PEmailtxtBox.Text = dataGridView1.Rows[e.RowIndex].Cells[10].Value.ToString();
//WEmailtxtBox.Text = dataGridView1.Rows[e.RowIndex].Cells[11].Value.ToString();
//GendrcomboBox.Text = dataGridView1.Rows[e.RowIndex].Cells[12].Value.ToString();
//dateTimePicker1.Text = dataGridView1.Rows[e.RowIndex].Cells[13].Value.ToString();
//dateTimePicker2.Text = dataGridView1.Rows[e.RowIndex].Cells[14].Value.ToString();
Reply
Answers (
3
)
Insert data from one server to another server
What same time this message appear