Click here to Skip to main content
Licence CPOL
First Posted 5 Jul 2005
Views 19,804
Downloads 379
Bookmarked 8 times

Navigating a DataSet using Managed C++

By | 5 Jul 2005 | Article
How to navigate your data set in Managed C++

Introduction

What this control does is, when connected to a DataTable, it allows you to navigate, edit, add, and erase records from the table. The only things you have to take care of are: the filling of the table, you should call the DataAdapter's Fill method, to do this, and the other thing is the posting, you have to post the data back to the database manually, by calling the Update method on the DataAdapter.

Background

I made this control because of the need to display recursive data, I make a lot of database driven programs that benefit from controls like this.

Using the Code

The important properties are: Table, this is the table linked to the control, and ShowConfirmation which holds the value that determines if a warning dialog is shown when you push the delete button or not.

History

  • 5th July, 2005: Initial post

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

rabih_kai

Web Developer

Canada Canada

Member

I've been programming since year 1999, graduated from Univeristy Paris 2 France, major strengths include C# 2,3.5,4, ASP.NET MVC, AJAX,jQuery,javascript, LINQ, SQL Server 2008 R2, ADO.NET, WCF RIA Services. Sharepoint, Visual Studio 2005,2008 and 2010, Expression Blend 4 + Sketchflow, Telerik RadControl, Infragistics NetAdvantages for .Net and over six years of C++, Crystal Reports and SQL Server development experience. Through knowledge of object-oriented design, database design, MFC, ISAPI, TCP/IP networking and sockets' programming using the Microsoft Winsock API

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
-- There are no messages in this forum --
Permalink | Advertise | Privacy | Mobile
Web01 | 2.5.120517.1 | Last Updated 5 Jul 2005
Article Copyright 2005 by rabih_kai
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid