RBT Accounting .Net, VB & Sql -  SalesForm.vb.
 
 
 

        The Form  design, SalesForm.vb   -  Master Detail type

       
      
            
 


    Create Visual Basic .Net Forn - SalesForm.vb

 
 Classes used in this Form:
         SqlConnection, SqlDataAdapter
SqlCommand, DataSet, ImageList,  Label, TextBox, Button, DataGrid, ComboBox,
ToolTip and DateTimePicker

    

 Create the Form  - SalesForm.vb

  1-  Info about database used ...
          SQL database - RBT
          Tables  -  ord_sales and it_sales, (Master-details)
          Fields
of 1st table -   ord_inv, ord_date, type_cur, val_ll, child_ref, desc_name, dlv_name, disc_cur, total_cur, 
                                                 old_bal_cur, new_bal_cur and notes
          Fields of 2nd table -   ord_inv, prod_id, prod_name, quantity, unit_price and extension

2-  Create the Form SalesForm.vb

  1. On the View menu , click  Solution Explorer
  2. In Solution Explorer, right click the RBT Accounting Net, select Add on the shortcut menu to open other shortcut menu, click  Add New Item, the Add New Item - RBT Accounting Net dialog box appears.
  3. In the  Add New Item -RBT Accounting Net dialog box:
  4. In the Categories pane, select Local Project Items
  5. In the Templates pane, select Windows form . A message appears  - (a form for Windows Applications).
  6. In the Name box, type SalesForm.vb
  7. Click Open
  8. In the windows Forms Designer appears the empty window Form design

 

 

 To add the following controls  ...


The codes ...
 


 

 

Previous
  Home
5
 
Next