Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Methods in a WinForm
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00724429
Message ID:
00725263
Views:
24
The AddNew method is part of the DataTable class. It generates a DataRow that then can be populated. To actually add the DataRow to the DataTable, you need to call the Add method of the DataRows collection. These steps are how you work with data in ADO.NET and are separate from the wizards.

>Cathy:
>
>I Followed your example and with a littler imagination I implemented your code and works!! but I would like to know why the wizzard use Addnew() method to create the whole process. I did not find any place in the code created by the wizzard that use the addrow() method. Anyway Thank You so much.
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Previous
Reply
Map
View

Click here to load this message in the networking platform