Here is my code to set the columns of the datagrid control.
VB Code:
dtaGrid.AllowAddNew = False dtaGrid.AllowDelete = False dtaGrid.AllowUpdate = False dtaGrid.Columns.Item(0).Width = 200 dtaGrid.Columns.Add(1).Caption = "Case ID" dtaGrid.Columns.Add(2).Caption = "Case Status" dtaGrid.Columns.Add(3).Caption = "Case Type" dtaGrid.Columns.Add(4).Caption = "Case Sub Type" dtaGrid.Columns.Add(5).Caption = "Branch"
How do I add the rows to this grid control?
Cheers,
Abhijit




Reply With Quote