I have 3 controls in my windows forms which are ListBox , button & datagridview control.
ListBox is already populated with data. When the user clicks the button, the record selected in the ListBox needs to be entered into datagridview.
Here i am facing the problem.
The columns in datagridview are of types in the order shown below
DataGridViewTextBoxColumn , DataGridViewComboBoxColumn , DataGridViewButtonColumn
DataGridViewTextBoxColumn will contain the data selected from the ListBox.
DataGridViewComboBoxColumn & DataGridViewButtonColumn will be populated and shown every time the user adds a record from the ListBox control.
Can anybody suggest me the code, ways and alternatives to achieve this ?
ListBox is already populated with data. When the user clicks the button, the record selected in the ListBox needs to be entered into datagridview.
Here i am facing the problem.
The columns in datagridview are of types in the order shown below
DataGridViewTextBoxColumn , DataGridViewComboBoxColumn , DataGridViewButtonColumn
DataGridViewTextBoxColumn will contain the data selected from the ListBox.
DataGridViewComboBoxColumn & DataGridViewButtonColumn will be populated and shown every time the user adds a record from the ListBox control.
Can anybody suggest me the code, ways and alternatives to achieve this ?