To create Visual C# 2010 Form, book_note.cs
 
 
 

        The Form  design, book_note.cs

 

 


    Create Visual C# 2010 Forn - book_note.cs

 
 Classes used in this Form:
1-   
DataSet,  OpenFileDialog, DateTimePicker,  TabControl,  ImageList,  Button,  ComboBox,  PictureBox, ToolBar, Panel,  Label, TextBox
2- Logical classes - DbConnection, DbDataAdapter,  DbCommand

 Create the Form book_note - book_note.cs
 Create the Form book_note.cs
 

Add  New Item - book_note.cs Form to work_VCNet10 Project

  1. On the Projet menu , click  Add New Item ... Add New Item - work_VCNet10 dialog box appears, Select Windows form Icon, in the Name box type book_note.cs and then click Add.
 
Note:
In the Windows Forms Designer appears the design form created and in the Properties Windows displays the corresponding properties

   and The design Form  book_note.cs created, appears the empty window Form design
 
 The codes file, created ...
using System;

using System.Collections.Generic;

using System.ComponentModel;

using System.Data;

using System.Drawing;

using System.Linq;

using System.Text;

using System.Windows.Forms;

namespace work_VCNet10

{

public partial class book_note : Form

{

public book_note()

{

InitializeComponent();

}

private void book_note_Load(object sender, EventArgs e)

{

}

}

}

 

 
 


1-   The Access file - work_VCnet.mdb - C:\work_VCNet10\work_VCNet10\data\work_VCnet.mdb

 Create the DataSet book_dset - book_dset.xsd
  1.  Create the DataSet book_dset.xsd

     

    Add  New Item - book_dset.xsd Dataset to work_VBNet_10 Project

    1. On the Projet menu , click  Add New Item ... Add New Item - work_VCNet10 dialog box appears, Select DataSet Icon, in the Name box type book_dset.xsd and then click Add.
     

     
     
     
    1.  DataSet book_dset.xsd - Drag Database items fromServer Explorer.   Data source = c:\work_VCNet10/work_VCNet10/data\work_VCNet.mdb

     
              Datatable: book

     

 

 The following controls to ...

***

 
   The codes  corresponding ...
 
 
 
 

Previous
  Home
5
 
Next