Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 3. Building Data Entry Forms > Simple Data Entry Form

3.2. Simple Data Entry Form

To do this, save and close the project you were working on and create a new Windows Forms Application project. In this example, I’ve called it SimpleDataEntryForm. You will be using the Northwind database again, and this is just a simple form to navigate through Invoice and Invoice Details records. Since this is just an example, we are going to use the bare-minimum number of fields. So, create a text box, two DateTimePicker controls, and labels for each. These will be for Order ID, Order Date, and Ship Date. Then, add five more text boxes with labels. These will be for the Order Details fields for ID, Order ID, Quantity, Unit Price, and Discount. Then, add two more text boxes with a label in the middle that says “of.” Then add four buttons that say Next Parent, Next Child, Add New Order Detail, and Save Changes. How your form looks isn’t that important, but Figure 3-2 shows you what mine looks like.

Figure 3-2. The Simple Data Entry Form



  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint