Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Gridview: Possible when add new row to position at Row 1
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
ASP.NET
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01245412
Message ID:
01246644
Views:
16
Farouk,

>Is it possible to do the above?

In order to add a row to a particular position in a DataTable you must have the DataTable sorted by criteria that will sort the row to the first position. The best way to do this is by means of a DataView. I recommend checking out the MM .NET Dev Guide topics "Working with DataViews" for more information.

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Reply
Map
View

Click here to load this message in the networking platform