aspx_professional thread: help for filling a table from datarow() array
This is my code:
I clone a table..successfull
Dim mytable As DataTable = dsLoan.Tables(0).Clone
I create a datarow array..successfull
dim datarows as datarow() = dsLoan.Tables(0).Select("ClientName
like 'Ca%'"))
'Trying to add datarow array contents to table..It FAILS here
mytable.Rows.Add(datarows)
'Add the table to dataset
myds.Tables.Add(mytable)
How do I go about it? Thanks in advance
|





