Project to display a database - data control, Visual Basic Programming

A Project to Display a Database:

1. Suppose that there are 5 fields describing a customer. Id, address, name, city & state.

2. Put 5 text boxes on the form to exhibit the records.

3. Put a data control on the form.

4. Set the DatabaseName property as shown below:

Data1.DatabaseName = "C:\ex.mdb"

5. Place the Record Source for the data control as the Customer by selecting ttable from the drop down list box in the property box.

6. Put the Record Type to 0 to point out the Customer table of ex.mdb .

7. Bind the text boxes to the data control. This is consummate by setting the Data Source to the Data1 for all the text boxes one at a time.

8. Put the DataField property for each text box and set to the various fields of the Customer table.

9. Run the project.

10. The records of the Customer table would be exhibited.

Posted Date: 10/10/2012 1:07:14 AM | Location : United States







Related Discussions:- Project to display a database - data control, Assignment Help, Ask Question on Project to display a database - data control, Get Answer, Expert's Help, Project to display a database - data control Discussions

Write discussion on Project to display a database - data control
Your posts are moderated
Related Questions
A triangle is equilateral if all three sides are equal, isosceles if any two (but no more than two) sides are equal, and scalene if no two sides are equal. A triangle will be input

Software That Is Obscure: The Software hides the intensions, meaning and actions from the user. For illustration, if a user is asked whether a full installation, the custom in

We are need of VB.NET Dynamically Created Gridview with Textboxes, DDLs Utilizing VB code in ASP.NET I dynamically create a calendar showing either 3 or 6 or 9 or 12 months, dep

INTRINSIC CONTROLS   The Intrinsic controls are the built-in controls. Few of the controls are Combo box, Check box, Command Button, Label etc. The controls have properties re

Default Values for GDI Objects: The default color for the brush is white, pen is black, and default bitmap is null and the default font is system.

MENUS AND TOOL BARS   The Menu options can be checked, enabled, disabled, and popped up on an object. The Menu Object: The Menu control is used to generate a menu in

Create a VB calculator application that appears as in the screen shots below. The user enters numbers in the textboxes labelled Number 1 and Number 2. When a calculati

MODULE The Modules are the collection of VB statements. Modules are used to simplify the program development. To add a module to your project, choose the project tabpage, and t

You can employ Do...Loop statements to run a block of statements indefinite number of times. The statements are repeated either whilst a condition is True or till a condition becom

Retrieval Methods: There are 3 ways to find a document. The primary method is a positional retrieval. This is achieved by keeping in mind where you left it. The next method is