Good Afternoon,
I have a bound data grid view. When a user double-clicks it I want the selected row to populate an unbound data grid view. This is for a survey and I want the second data grid unbound so the user can change the order of the contents before I add the data to a production table.
So, I searched the internet and found that I could create 2 columns AnswerID, AnswerText. When I run it, I get System.Windows.Forms.DataGridViewSelectedRowCollection. It's something, so I feel like I'm close. Am I wrong?
This what I have so far:
dgvSurveyAnswers = New DataGridView()
dgvSurveyAnswers.Columns.Add("AnswerID", "AnswerID")
dgvSurveyAnswers.Columns.Add("Answer_Text", "Answer_Text")
Controls.Add(dgvSurveyAnswers)
dgvSurveyAnswers.Rows(0).Cells(0).Value = dgvAnswers.answerid
Thanks in advance.
I have a bound data grid view. When a user double-clicks it I want the selected row to populate an unbound data grid view. This is for a survey and I want the second data grid unbound so the user can change the order of the contents before I add the data to a production table.
So, I searched the internet and found that I could create 2 columns AnswerID, AnswerText. When I run it, I get System.Windows.Forms.DataGridViewSelectedRowCollection. It's something, so I feel like I'm close. Am I wrong?
This what I have so far:
dgvSurveyAnswers = New DataGridView()
dgvSurveyAnswers.Columns.Add("AnswerID", "AnswerID")
dgvSurveyAnswers.Columns.Add("Answer_Text", "Answer_Text")
Controls.Add(dgvSurveyAnswers)
dgvSurveyAnswers.Rows(0).Cells(0).Value = dgvAnswers.answerid
Thanks in advance.