How to get Record count when i using DataTable, i want to ADD new record in Name and Address how ??
For each objectRow in ObjectRowX.GetChildRow
orow = oTable.NewRow()
orow("row")=ObjectRow("Name")
oTable.Row.Add(oRow)
For each objectRowX in ObjectRowN.GetChildRow
orow = oTable.NewRow()
orow("row")=ObjectRowN("Address")
oTable.Row.Add(oRow)
Next
Next
the table shown like below
----------------------------------------------
NAME ADDRESS
----------------------------------------------
Anie
Avenue St
Dark Angel St
Rika
Gelang St
Marcors St
BamBam St
I want The table Like this below
----------------------------------------------
NAME ADDRESS
----------------------------------------------
Anie
Avenue St
Dark Angel St
Add New
Rika
Gelang St
Marcors St
BamBam St
Add New
Add New
and i want to know how to get recordcount in datatable ??