Right now my code below shows the column headers and row headers when loaded..However, when I bring the table up I want the table to be completely editable so that you can type in it. Any ideas of how to do that?
here is my code so far:
Public Sub GetChartDataGrid()
SqlChart.SelectCommand = "SELECT NAMES, vacAccrued, vacUsed, vacBalance, perAccrued" & _
"FROM EMPLOYEES" & _
"WHERE (NAMES = ?)'" & lblName.Text & "'"
'Build your DataTable
Dim dt As New DataTable()
dt.Columns.Add(New DataColumn("Accrued", GetType(Integer)))
dt.Columns.Add(New DataColumn("Used", GetType(Integer)))
dt.Columns.Add(New DataColumn("Balance", GetType(Integer)))
dt.Columns.Add(New DataColumn("A ...
Go to the complete details ...