Hi Mark,

        First of all, remember that you don't add rows to a DataSet, but
rather to a DataTable within that DS.

        The DT's rows are kept in a DataRowCollection, which supports
the following method:

 InsertAt(ByVal row As DataRow, ByVal pos As Integer)

Cheers,

Peter

-----Original Message-----
From: [email protected] On Behalf Of Mark E


Is there a way to insert a new row into a dataset but
at a certain position?  For example, let's say my
dataset has 14 records.  I need to insert a dummy
record in the 12th position, thus "pushing" down the
last 3 records and ending up with a total of 15
records.

I can add the record.  But how can I specify the
records location?  Is this possible?

Thanks,
Mark





 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to