Public Sub loadRepairDG() Dim dtDGloadRepair conn = GetConnect() Try da = New SqlDataAdapter("SELECT * from V_RepairInv", conn) ds = New DataSet() da.Fill(ds, "V_RepairInv") dtDGloadRepair = ds.Tables("V_RepairInv") frmRepair.DataGridViewX1.DataSource = dtDGloadRepair Catch ex As Exception MsgBox("Error: " & ex.Source & ": " & ex.Message, MsgBoxStyle.OkOnly, "Error conection!!") End Try conn.Close() End Sub
DatagridviewComboColumn.column.Add("1")
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)