To create Visual C# 2010 Form, BookForm.cs
 
 
 

        The Form  design, BookForm.cs

 
 1st TabPage selected of  TabControl control..
 
2nd TabPage selected of  TabControl control..
 


    Create Visual C# 2010 Forn - BookForm.cs

 
 Classes used in this Form:
  
1- DataSet, PictureBox,  Label, TextBox, Button, TabControl, ListView, ComboBox,  RichTextBox
  2- Logical DbConnection, DbDataAdapter,  DbCommand classes
 

 Create the Form BookForm - BookForm.cs
 Create the Form BookForm.cs
 

Add  New Item - BookForm.cs Form to App_CAKJV10 Project

  1. On the Projet menu , click  Add New Item ... Add New Item - App_CAKJV10 dialog box appears, Select Windows form Icon, in the Name box type BookForm.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  BookForm.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 App_CAKJV10

{

public partial class BookForm : Form

{

public BookForm()

{

InitializeComponent();

}

private void BookForm_Load(object sender, EventArgs e)

{

}

}

}

 

 
 
1-  Database file - KJV2002.mdb   - c:\App_CAKJV10/App_CAKJV10/Pic\KJV2002.mdb
 


 

 Create the DataSet Bookdset - Bookdset.xsd
  1.  Create the DataSet Bookdset.xsd

     

    Add  New Item - Bookdset.xsd Dataset to work_VBNet_10 Project

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

     
     
     
    1.  DataSet Bookdset.xsd - Drag Database items fromServer Explorer.   Data source = c:\App_CAKJV10/App_CAKJV10/Pic\KJV2002.mdb

     
              Datatable: book

     

 

 Picture files ...

 

 The following controls to ...


The codes  corresponding ...
 


 

 

Previous
  Home
4
 
Next