ethicalhacker
Well-known member
VB.NET:
Case "flight_details"
Form3.DataGridView1.Columns.Add("FlightdetailsDataGridViewTextBoxColumn")
VB.NET:
Case "flight_details"
Form3.DataGridView1.Columns.Remove("FlightdetailsDataGridViewTextBoxColumn")
what do i have to do to add a column to datagridview
I get an error in the latter code
Value of type 'String' cannot be converted to 'System.Windows.Forms.DataGridViewColumn'.