To create Visual C# .Net Form, book_note.cs
 
 
 

        The Form  design, book_note.cs

 

 


    Create Visual C# .Net Forn - book_note.cs

 
 Classes used in this Form:
         OleDbConnection,
OleDbDataAdapter, DataSet,  OpenFileDialog, DateTimePicker,  TabControl,  ImageList,  Button,  ComboBox,  PictureBox, ToolBar, Panel,  Label, TextBox

 

 Create the Form  - book_note.cs
 
   1-   The Access file - work_VCnet.mdb -
C:\work_VCnet\data\work_VCnet.mdb   used by this data form - book_note

2- Create the Form book_note.cs
 

  1. On the View menu , click  Solution Explorer
  2. In Solution Explorer
    right click the work_VCnet, select Add on the shortcut menu to open other shortcut menu, click  Add New Item,  the Add New Item - work_VCnet dialog box appears.

     

  3. In the  Add New Item -work_VCnet dialog box:
    1. In the Categories pane, select Local Project Items
    2. In the Templates pane, select Data Form Wizard . A message appears  - (a form for Windows Applications)
      Note:
      The Data Form Wizard create Windows Form with data-bound controls. The controls display data from any data source you specify. The data component for this form consists:
      • A connection to a data source-(her the datasource - C:\work_VCnet\data\work_VCnet.mdb.
      • A data adapter .
      • A typed dataset to hold the records fetched from the database

       

    3. In the Name box, type book_note.cs
    4. Click Open, the Data Form Wizard dialog box appears.

     
    Steps of Data Form Wizard  dialog box ...
 

 

 Data Form Wizard  dialog box ...

 

 The following controls to ...

***

 
   The codes  corresponding ...
 
 
 
 

Previous
  Home
5
 
Next