Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MSDataGridLib.DataGrid
#5
... because data type was incorrect.

When recordset is opened from database (like in your code), to add new data can be used this:

Code:
Copy      Help
,int i
,for(i 0 5)
,,rs4.AddNew()
,,rs4.Fields.Item(0).Value="string"
,,rs4.Fields.Item(1).Value=i
,,rs4.Fields.Item(2).Value="string"

To set current row, use Move, MoveFirst, etc.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)